util/fluxbox-generate_menu: default browswer variable can be empty
Noticed when debugging in mac.
This commit is contained in:
parent
dcdfdfd56b
commit
be2c52a146
1 changed files with 5 additions and 1 deletions
|
@ -1530,7 +1530,11 @@ else
|
|||
done
|
||||
fi
|
||||
DEFAULT_BROWSERNAME=`echo $DEFAULT_BROWSER|awk '{print $1}'`
|
||||
DEFAULT_BROWSERNAME=`basename $DEFAULT_BROWSERNAME`
|
||||
if [ "x$DEFAULT_BROWSERNAME" != "x" ]; then
|
||||
DEFAULT_BROWSERNAME=`basename $DEFAULT_BROWSERNAME`
|
||||
else
|
||||
DEFAULT_BROWSERNAME="firefox"
|
||||
fi
|
||||
|
||||
if [ -z "$LAUNCHER" ]; then
|
||||
LAUNCHER=@pkgprefix@fbrun@pkgsuffix@@EXEEXT@
|
||||
|
|
Loading…
Reference in a new issue