Fixed #1335255 (Gentoo #110197), fbgm had some globbing related probs

Patch from thanx t35t0r
This commit is contained in:
mathias 2005-10-23 16:22:32 +00:00
parent f14c73ed33
commit bf7902dae8
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day) (Format: Year/Month/Day)
Changes for 0.9.15: Changes for 0.9.15:
*05/10/23:
* Fixed #1335255 (Gentoo #110197) fbgm had some globbing related probs (thanx t35t0r)
fluxbox-generate_menu.in
*05/10/21: *05/10/21:
* Fixed #1223878, Style reloading on USR2 (thanx Zan) * Fixed #1223878, Style reloading on USR2 (thanx Zan)
Screen.cc Screen.cc

View file

@ -133,7 +133,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null;
if [ -x "$file" ]; then if [ -x "$file" ]; then
if [ $# -gt 1 ]; then if [ $# -gt 1 ]; then
shift shift
$* "$@"
fi fi
return 0 return 0
else else
@ -153,7 +153,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null;
else else
# can rely on return value # can rely on return value
find_it() { find_it() {
which $1 > /dev/null 2>&1 && shift && $* which $1 > /dev/null 2>&1 && shift && "$@"
} }
find_it_options() { find_it_options() {