summaryrefslogtreecommitdiff
path: root/debian/patches/example-shebang.patch
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2019-01-05 14:32:43 +0100
committerAxel Beckert <abe@deuxchevaux.org>2019-01-05 14:32:43 +0100
commit087d6045cc13cb5104333f12c6432e0195821898 (patch)
treebe4e0dc485bb62a6f3c9afed813e2160c1f51090 /debian/patches/example-shebang.patch
parent30825099cd6731543b94a23b35d21fb74697dc41 (diff)
downloadzsh-087d6045cc13cb5104333f12c6432e0195821898.tar.gz
zsh-087d6045cc13cb5104333f12c6432e0195821898.zip
Change shebang path in example script to Debian's zsh path
With dh compat 12, example scripts are installed uncompressed. Hence this showed up as script with wrong interpreter in the shebang line.
Diffstat (limited to 'debian/patches/example-shebang.patch')
-rw-r--r--debian/patches/example-shebang.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/example-shebang.patch b/debian/patches/example-shebang.patch
new file mode 100644
index 000000000..cc3c63fa7
--- /dev/null
+++ b/debian/patches/example-shebang.patch
@@ -0,0 +1,12 @@
+Description: Change shebang path in example script to Debian's zsh path
+Author: Axel Beckert <abe@debian.org>
+Forwarded: not-needed
+
+--- a/Util/reporter
++++ b/Util/reporter
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/zsh
++#!/bin/zsh
+ #
+ # NAME:
+ # reporter