summaryrefslogtreecommitdiff
path: root/net-firewall/ufw/files/ufw-0.36.1-shebang.patch
blob: aaafaac12ae94bf29b7091c4e4b027ad45f5732d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/setup.py	2019-03-21 01:51:55.751971770 +0300
+++ b/setup.py	2019-03-21 01:54:40.142513567 +0300
@@ -121,12 +121,6 @@
         for f in [ script, manpage, manpage_f ]:
             self.mkpath(os.path.dirname(f))

-        # update the interpreter to that of the one the user specified for setup
-        print("Updating staging/ufw to use %s" % (sys.executable))
-        subprocess.call(["sed",
-                         "-i",
-                         "1s%^#.*python.*%#! /usr/bin/env " + sys.executable + "%g",
-                         'staging/ufw'])
         self.copy_file('staging/ufw', script)
         self.copy_file('doc/ufw.8', manpage)
         self.copy_file('doc/ufw-framework.8', manpage_f)