From bf7902dae8c43ad4cb62a1b2791eb706612c8e28 Mon Sep 17 00:00:00 2001 From: mathias Date: Sun, 23 Oct 2005 16:22:32 +0000 Subject: Fixed #1335255 (Gentoo #110197), fbgm had some globbing related probs Patch from thanx t35t0r --- ChangeLog | 3 +++ util/fluxbox-generate_menu.in | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4360a01..79d28b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) 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: * Fixed #1223878, Style reloading on USR2 (thanx Zan) Screen.cc 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; if [ -x "$file" ]; then if [ $# -gt 1 ]; then shift - $* + "$@" fi return 0 else @@ -153,7 +153,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null; else # can rely on return value find_it() { - which $1 > /dev/null 2>&1 && shift && $* + which $1 > /dev/null 2>&1 && shift && "$@" } find_it_options() { -- cgit v0.11.2