[Bf-blender-cvs] [0259864] master: Call python3 explicitly from tgz util

Campbell Barton noreply at git.blender.org
Tue Oct 7 16:49:31 CEST 2014


Commit: 0259864c151446ed2de6f6a7d9f48f2b3b5df0d0
Author: Campbell Barton
Date:   Tue Oct 7 16:48:31 2014 +0200
Branches: master
https://developer.blender.org/rB0259864c151446ed2de6f6a7d9f48f2b3b5df0d0

Call python3 explicitly from tgz util

===================================================================

M	build_files/utils/build_tgz.sh

===================================================================

diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 9ffa72b..409c738 100755
--- a/build_files/utils/build_tgz.sh
+++ b/build_files/utils/build_tgz.sh
@@ -27,13 +27,13 @@ FILTER_FILES_PY="import os, sys; [print(l[:-1]) for l in sys.stdin.readlines() i
 
 # Build master list
 echo -n "Building manifest of files:  \"$BASE_DIR/$MANIFEST\" ..."
-git ls-files | python -c "$FILTER_FILES_PY" > $BASE_DIR/$MANIFEST
+git ls-files | python3 -c "$FILTER_FILES_PY" > $BASE_DIR/$MANIFEST
 
 # Enumerate submodules
 for lcv in $(git submodule | awk '{print $2}'); do
 	cd "$BASE_DIR"
 	cd "$blender_srcdir/$lcv"
-	git ls-files | python -c "$FILTER_FILES_PY" | awk '$0="'"$lcv"/'"$0' >> $BASE_DIR/$MANIFEST
+	git ls-files | python3 -c "$FILTER_FILES_PY" | awk '$0="'"$lcv"/'"$0' >> $BASE_DIR/$MANIFEST
 	cd "$BASE_DIR"
 done
 echo "OK"




More information about the Bf-blender-cvs mailing list