]> git.pld-linux.org Git - packages/inkscape.git/commitdiff
- fix shebangs
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 10:05:47 +0000 (11:05 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 10:05:47 +0000 (11:05 +0100)
inkscape.spec

index b278cbfc4cb48263e37fa072c99a529c48086253..7a9fe7f5a12ca0eba7315b2f613363dd682d0abd 100644 (file)
@@ -118,6 +118,24 @@ dwuwymiarowej grafiki wektorowej.
 
 %{__sed} -i -e 's,po/Makefile.in,,' configure.ac
 
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      CMakeScripts/cmake_consistency_check.py \
+      buildtools/msys2checkdeps.py \
+      cxxtest/cxxtestgen.py \
+      packaging/scripts/lp-mark-bugs-released \
+      packaging/wix/*.py \
+      share/extensions/*.py \
+      share/extensions/*/*.py \
+      share/*/i18n.py
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+ruby(\s|$),#!%{__ruby}\1,' \
+      share/extensions/*.rb
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
+      share/attributes/genMapDataCSS.pl \
+      share/attributes/genMapDataSVG.pl
+
 %build
 %{__libtoolize}
 %{__gettextize}
This page took 0.041895 seconds and 4 git commands to generate.