Call python3 explicitly from tgz util
authorCampbell Barton <ideasman42@gmail.com>
Tue, 7 Oct 2014 14:48:31 +0000 (16:48 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 7 Oct 2014 14:49:22 +0000 (16:49 +0200)
build_files/utils/build_tgz.sh

index 9ffa72b..409c738 100755 (executable)
@@ -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"