Temporarily set NULL_GLOB to allow non-matching patterns

This commit is contained in:
Peter J. Holzer 2018-09-18 17:26:56 +02:00
parent 8c64f8791c
commit 269bb3d7b0
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ then
# first prepend important stuff - in order of increasing priority: # first prepend important stuff - in order of increasing priority:
setopt NULL_GLOB
PATH=`$preppath -c /usr/bin/X11:/usr/games:/usr/contrib/bin` PATH=`$preppath -c /usr/bin/X11:/usr/games:/usr/contrib/bin`
PATH=`$preppath -c /bin:/usr/bin` PATH=`$preppath -c /bin:/usr/bin`
# Debian's open/libre office is in /usr/bin, so we need to prepend # Debian's open/libre office is in /usr/bin, so we need to prepend
@ -63,6 +65,8 @@ then
# then append less important stuff # then append less important stuff
PATH=`apppath -c /usr/local/www/offline/devel.fiw/bin` PATH=`apppath -c /usr/local/www/offline/devel.fiw/bin`
unsetopt NULL_GLOB
fi fi
if [ -r /etc/MANPATH ] if [ -r /etc/MANPATH ]