[Bf-blender-cvs] [14879fb] blender-v2.72-release: Call python3 explicitly from tgz util

Campbell Barton noreply at git.blender.org
Wed Oct 15 13:08:09 CEST 2014


Commit: 14879fb2b82aaea33f5e3aeb3d9f834500f669b0
Author: Campbell Barton
Date:   Tue Oct 7 16:48:31 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rB14879fb2b82aaea33f5e3aeb3d9f834500f669b0

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