[packages/eventum] Replace shebang in bin scripts
glen
glen at pld-linux.org
Fri Mar 27 18:03:09 CET 2020
commit 9c8b19cb1585033bd67b035dd4d70225d153bfa0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Fri Mar 27 19:03:03 2020 +0200
Replace shebang in bin scripts
eventum.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/eventum.spec b/eventum.spec
index 5b594f3..7d532f7 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -313,6 +313,8 @@ rm -r vendor/smarty-gettext/smarty-gettext
rm -r vendor/smarty/smarty
rm -r vendor/sphinx/php-sphinxapi
+%{__sed} -i '1s|^#!.*php\b|#!/usr/bin/php|' config/sphinx.conf.php bin/*.php
+
# remove backups from patching as we use globs to package files to buildroot
find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/9c8b19cb1585033bd67b035dd4d70225d153bfa0
More information about the pld-cvs-commit
mailing list