summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgit.spec b/cgit.spec
index 8210a44..a3f027b 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -91,6 +91,9 @@ CFLAGS = %{optflags}
LDFLAGS = %{?__global_ldflags}
EOF
+# remove env shebang's from filter scripts
+grep -rl '#!.*/env' filters/ | xargs -r sed -Ei 's@^(.+/)env (.+)$@\1\2@'
+
# I tried to use matchpathcon, but we would need to require
# selinux-policy-targeted probably.
@@ -154,6 +157,7 @@ install -d -m0755 %{buildroot}%{cachedir}
%changelog
* Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com>
- make config: drop redundant DESTDIR/INSTALL, add COPYTREE
+- remove env shebang's from filter scripts
* Sun Feb 18 2018 Todd Zullinger <tmz@pobox.com> - 1.1-10
- Use https for source URLs