terminal-notifier: add shebang line to wrapper
Add shebang line to terminal-notifier to wrapper script. Without this line, the script fails with "Exec format error" when called outside a shell (e.g. from the Emacs alert package).
This commit is contained in:
parent
c71233f12c
commit
db163cdc3b
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
cp -r terminal-notifier.app $out/Applications
|
||||
cat >$out/bin/terminal-notifier <<EOF
|
||||
#!${stdenv.shell}
|
||||
cd $out/Applications/terminal-notifier.app
|
||||
exec ./Contents/MacOS/terminal-notifier "\$@"
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user