[arch-commits] Commit in nodejs/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Sep 9 10:20:54 UTC 2015


    Date: Wednesday, September 9, 2015 @ 12:20:54
  Author: fyan
Revision: 139679

update seds

Modified:
  nodejs/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-09 10:10:26 UTC (rev 139678)
+++ PKGBUILD	2015-09-09 10:20:54 UTC (rev 139679)
@@ -29,7 +29,8 @@
     -e 's_^#!/usr/bin/env python$_&2_' \
     -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
     -e 's_^#!/usr/bin/python$_&2_' \
-    -e 's_python -c _python2 -c _' \
+    -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\
+    -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\
     -e "s_'python'_'python2'_" -i {} \;
   find test/ -type f -exec sed 's_python _python2 _' -i {} \;
 }



More information about the arch-commits mailing list