applied Jukka's fix

master
Anselm R. Garbe 17 years ago
parent 64697cdd0c
commit 8b633bf17d
  1. 2
      config.mk
  2. 10
      dmenu_path

@ -1,5 +1,5 @@
# dmenu version
VERSION = 3.1
VERSION = 3.2
# Customize below to fit your system

@ -3,20 +3,22 @@ CACHE=$HOME/.dmenu_cache
UPTODATE=1
IFS=:
uptodate() { [ $UPTODATE -eq 1 ]; }
if test ! -f $CACHE
then
unset UPTODATE
UPTODATE=0
fi
if test $UPTODATE
if uptodate
then
for dir in $PATH
do
test $dir -nt $CACHE && unset UPTODATE
test $dir -nt $CACHE && { UPTODATE=0; break; }
done
fi
if test ! $UPTODATE
if ! uptodate
then
for dir in $PATH
do

Loading…
Cancel
Save