Date: Wednesday, December 24, 2014 @ 00:26:57
  Author: arojas
Revision: 124489

more python -> python2

Modified:
  sage-notebook/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-12-23 23:15:28 UTC (rev 124488)
+++ PKGBUILD    2014-12-23 23:26:57 UTC (rev 124489)
@@ -32,7 +32,8 @@
   cd sagenb-$pkgver
   
 # Use python2
-  find -name *.py | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -i
+  find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' 
-e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+    -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i
   sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py
   sed -e "s|python = 'python'|python = 'python2'|" -i 
sagenb/interfaces/expect.py 
 }

Reply via email to