pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64697cd
)
applied Jukka's fix
author
Anselm R. Garbe
<arg@suckless.org>
Wed, 23 May 2007 11:22:27 +0000
(13:22 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Wed, 23 May 2007 11:22:27 +0000
(13:22 +0200)
config.mk
patch
|
blob
|
history
dmenu_path
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
18565ea
..
f4c2fed
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dmenu version
-VERSION = 3.
1
+VERSION = 3.
2
# Customize below to fit your system
diff --git
a/dmenu_path
b/dmenu_path
index
e590a5c
..
e725ede
100755
(executable)
--- a/
dmenu_path
+++ b/
dmenu_path
@@
-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