pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf641ae
)
simplify dmenu_run
author
Connor Lane Smith
<cls@lubutu.com>
Mon, 17 Oct 2011 09:22:23 +0000
(10:22 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Mon, 17 Oct 2011 09:22:23 +0000
(10:22 +0100)
dmenu_run
patch
|
blob
|
history
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
)