From 934bd42ace868247316b7565ea19bb90c1f1a03f Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 24 Dec 2007 11:59:36 -0800 Subject: `hash -t' seems to be bash-only --- util/fluxbox-generate_menu.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 92839ba..14e35ca 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in @@ -1409,7 +1409,7 @@ fi PREFIX="${PREFIX:=@PREFIX@}" if [ -z "${PREFIX}" -o ! -d "${PREFIX}" ]; then hash @pkgprefix@fluxbox@pkgsuffix@ - PREFIX=`hash -t @pkgprefix@fluxbox@pkgsuffix@ | sed 's,/bin/@pkgprefix@fluxbox@pkgsuffix@$,,'` + PREFIX=`hash | grep @pkgprefix@fluxbox@pkgsuffix@ | sed 's,.*\t/,/,' | sed 's,/bin/@pkgprefix@fluxbox@pkgsuffix@$,,'` fi -- cgit v0.11.2