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).

authored by Svend Sorensen and committed by Tuomas Tynkkynen db163cdc c71233f1

+1
+1
pkgs/applications/misc/terminal-notifier/default.nix
··· 17 17 mkdir -p $out/bin 18 18 cp -r terminal-notifier.app $out/Applications 19 19 cat >$out/bin/terminal-notifier <<EOF 20 + #!${stdenv.shell} 20 21 cd $out/Applications/terminal-notifier.app 21 22 exec ./Contents/MacOS/terminal-notifier "\$@" 22 23 EOF