Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
add lots of comments
[dmenu.git]
/
dmenu_run
diff --git
a/dmenu_run
b/dmenu_run
index
21dc72b
..
2747919
100755
(executable)
--- a/
dmenu_run
+++ b/
dmenu_run
@@
-5,7
+5,7
@@
if [ ! -d "`dirname "$CACHE"`" ]; then
fi
(
IFS=:
- if
test "`ls -dt $PATH "$CACHE" 2> /dev/null | sed 1q`" != "$CACHE"
; then
+ if
[ "`ls -dt $PATH "$CACHE" | head -n 1`" != "$CACHE" ]
; then
lsx $PATH | sort -u > "$CACHE"
fi
)