diff options
author | mathias <mathias> | 2005-10-23 16:22:32 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-10-23 16:22:32 (GMT) |
commit | bf7902dae8c43ad4cb62a1b2791eb706612c8e28 (patch) | |
tree | 7188638767ba067e3633f2927f0220e6551db287 /util | |
parent | f14c73ed3388a4f995b99e4fedddfc09e2df6e63 (diff) | |
download | fluxbox_pavel-bf7902dae8c43ad4cb62a1b2791eb706612c8e28.zip fluxbox_pavel-bf7902dae8c43ad4cb62a1b2791eb706612c8e28.tar.bz2 |
Fixed #1335255 (Gentoo #110197), fbgm had some globbing related probs
Patch from thanx t35t0r
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 4c2e863..4d85db9 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -133,7 +133,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null; | |||
133 | if [ -x "$file" ]; then | 133 | if [ -x "$file" ]; then |
134 | if [ $# -gt 1 ]; then | 134 | if [ $# -gt 1 ]; then |
135 | shift | 135 | shift |
136 | $* | 136 | "$@" |
137 | fi | 137 | fi |
138 | return 0 | 138 | return 0 |
139 | else | 139 | else |
@@ -153,7 +153,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null; | |||
153 | else | 153 | else |
154 | # can rely on return value | 154 | # can rely on return value |
155 | find_it() { | 155 | find_it() { |
156 | which $1 > /dev/null 2>&1 && shift && $* | 156 | which $1 > /dev/null 2>&1 && shift && "$@" |
157 | } | 157 | } |
158 | 158 | ||
159 | find_it_options() { | 159 | find_it_options() { |