aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2012-12-31 16:50:57 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-01-02 09:08:04 (GMT)
commitbe2c52a146a013ebbfb708073317c337986371ff (patch)
tree66f2bbc8cd0908058eb7f2f9f25564182cfeb214 /util
parentdcdfdfd56b5dbb6453062ad60876647b11433f18 (diff)
downloadfluxbox-be2c52a146a013ebbfb708073317c337986371ff.zip
fluxbox-be2c52a146a013ebbfb708073317c337986371ff.tar.bz2
util/fluxbox-generate_menu: default browswer variable can be empty
Noticed when debugging in mac.
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index eb6414c..bc01062 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -1530,7 +1530,11 @@ else
1530 done 1530 done
1531fi 1531fi
1532DEFAULT_BROWSERNAME=`echo $DEFAULT_BROWSER|awk '{print $1}'` 1532DEFAULT_BROWSERNAME=`echo $DEFAULT_BROWSER|awk '{print $1}'`
1533DEFAULT_BROWSERNAME=`basename $DEFAULT_BROWSERNAME` 1533if [ "x$DEFAULT_BROWSERNAME" != "x" ]; then
1534 DEFAULT_BROWSERNAME=`basename $DEFAULT_BROWSERNAME`
1535else
1536 DEFAULT_BROWSERNAME="firefox"
1537fi
1534 1538
1535if [ -z "$LAUNCHER" ]; then 1539if [ -z "$LAUNCHER" ]; then
1536 LAUNCHER=@pkgprefix@fbrun@pkgsuffix@@EXEEXT@ 1540 LAUNCHER=@pkgprefix@fbrun@pkgsuffix@@EXEEXT@