]> git.tuebingen.mpg.de Git - gsu.git/blobdiff - gui
subcommand: Fix and document return value of gsu_complete_options().
[gsu.git] / gui
diff --git a/gui b/gui
index 34f732e27bacc9646710efb0c11eef09659a2ce4..23e9e903af340ccb74c936b4fd8704b32dfb8fee 100644 (file)
--- a/gui
+++ b/gui
@@ -4,7 +4,7 @@
 
 if [[ "$(type -t _gsu_setup)" != "function" ]]; then
        gsu_dir=${gsu_dir:-${BASH_SOURCE[0]%/*}}
-       . $gsu_dir/common || exit 1
+       . "$gsu_dir/common" || exit 1
        _gsu_setup
 fi
 
@@ -97,7 +97,7 @@ _gsu_menu()
 {
        local header="${1:-root}"
        local items="$2"
-       local i state opts num=0
+       local i opts num=0
 
        _get_geometry
        opts="$result 16"