From: Andre Noll Date: Sat, 27 Sep 2014 22:59:43 +0000 (+0000) Subject: Merge branch 't/default_gsu_dir' X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=545f2b7b22c800fd4645e5784cd35a318d2e60d6;p=gsu.git Merge branch 't/default_gsu_dir' Cooking for almost a month. * t/default_gsu_dir: Unify gsu_dir handling. --- 545f2b7b22c800fd4645e5784cd35a318d2e60d6 diff --cc subcommand index 05860f6,bab8ded..95e0ba9 --- a/subcommand +++ b/subcommand @@@ -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