summaryrefslogtreecommitdiff
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
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.
-rw-r--r--debian/patches/example-shebang.patch12
-rw-r--r--debian/patches/series1
2 files changed, 13 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
diff --git a/debian/patches/series b/debian/patches/series
index cb6fdacc2..c4da55074 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
further-mitigate-test-suite-hangs.patch
update-debian-sections.patch
+example-shebang.patch