]> git.tue.mpg.de Git - gsu.git/commitdiff
Merge branch 't/default_gsu_dir'
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 27 Sep 2014 22:59:43 +0000 (22:59 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 27 Sep 2014 22:59:43 +0000 (22:59 +0000)
Cooking for almost a month.

* t/default_gsu_dir:
  Unify gsu_dir handling.

1  2 
config
subcommand

diff --cc config
Simple merge
diff --cc subcommand
index 05860f68395f67ffd3e9a51a60e48eb857a9cca8,bab8ded4ea1d9f0b99562eca7dc8d257244062a0..95e0ba9ebbc48aa5f8753d2e8fc42d8e594a26b7
@@@ -524,10 -532,9 +525,9 @@@ gsu_get_unnamed_arg_num(
  gsu()
  {
        local i
-       _gsu_setup
        _gsu_available_commands
        gsu_cmds="$result"
 -      if test $# -eq 0; then
 +      if (($# == 0)); then
                _gsu_usage
                _gsu_print_available_commands
                exit 1