chiark / gitweb /
bin/disorder-notify: Rewrite and take over the functionality of `media-keys'.
[profile] / bin / run-with-shell-env
old mode 100644 (file)
new mode 100755 (executable)
index ba0afcf..00181e3
@@ -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[@]}"