[skip sc] not really a patch but enables python (3)
skipping syntax check as executable files normally only exist in processing and installation
This commit is contained in:
parent
8616a92309
commit
76cf126566
|
@ -0,0 +1,8 @@
|
||||||
|
#! /usr/bin/env bash
|
||||||
|
if [ $1x != 3to2x ]; then
|
||||||
|
echo 'python2.7 to python'
|
||||||
|
find . -name '*.py' | xargs sed -i 's/usr\/bin\/env python2.7/usr\/bin\/env python/g'
|
||||||
|
else
|
||||||
|
echo 'python to python2.7'
|
||||||
|
find . -name '*.py' | xargs sed -i 's/usr\/bin\/env python/usr\/bin\/env python2.7/g'
|
||||||
|
fi
|
Loading…
Reference in New Issue