pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c805dcb
)
dmenu_run: sh -c
author
Connor Lane Smith
<cls@lubutu.com>
Sun, 24 Jul 2011 19:04:58 +0000
(20:04 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Sun, 24 Jul 2011 19:04:58 +0000
(20:04 +0100)
dmenu_run
patch
|
blob
|
history
diff --git
a/dmenu_run
b/dmenu_run
index
6e96b38
..
2d12243
100755
(executable)
--- a/
dmenu_run
+++ b/
dmenu_run
@@
-6,4
+6,4
@@
CACHE=${XDG_CACHE_HOME:-"$HOME/.cache"}/dmenu_run
mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE"
fi
)
-cmd=`dmenu "$@" < "$CACHE"` && exec
$cmd
+cmd=`dmenu "$@" < "$CACHE"` && exec
sh -c "$cmd"