chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/disorder-notify: Rewrite and take over the functionality of `media-keys'.
[profile]
/
bin
/
run-with-shell-env
diff --git
a/bin/run-with-shell-env
b/bin/run-with-shell-env
old mode 100644
(file)
new mode 100755
(executable)
index
ba0afcf
..
00181e3
--- a/
bin/run-with-shell-env
+++ b/
bin/run-with-shell-env
@@
-1,5
+1,6
@@
#! /bin/bash -x
exec >/tmp/mdw/hacky.log 2>&1
+declare -a original_args=("$@")
case ${__mdw_profile+t} in
t) ;;
*)
@@
-10,4
+11,4
@@
case ${__mdw_profile+t} in
set -x
;;
esac
-exec "$
@
"
+exec "$
{original_args[@]}
"