diff options
-rw-r--r-- | cgit.spec | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |