[Bf-blender-cvs] [96629df] blender-v2.73-release: exclude git/arc files from tgz archive
Campbell Barton
noreply at git.blender.org
Thu Jan 8 19:44:40 CET 2015
Commit: 96629dfe0e0c00c8ffbcd3f0a3a70f35eb42f29a
Author: Campbell Barton
Date: Thu Jan 8 22:48:15 2015 +1100
Branches: blender-v2.73-release
https://developer.blender.org/rB96629dfe0e0c00c8ffbcd3f0a3a70f35eb42f29a
exclude git/arc files from tgz archive
===================================================================
M build_files/utils/build_tgz.sh
===================================================================
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 16899fd..3c92108 100755
--- a/build_files/utils/build_tgz.sh
+++ b/build_files/utils/build_tgz.sh
@@ -25,7 +25,16 @@ TARBALL="blender-$VERSION.tar.gz"
cd "$blender_srcdir"
# not so nice, but works
-FILTER_FILES_PY="import os, sys; [print(l[:-1]) for l in sys.stdin.readlines() if os.path.isfile(l[:-1])]"
+FILTER_FILES_PY=\
+"import os, sys; "\
+"[print(l[:-1]) for l in sys.stdin.readlines() "\
+"if os.path.isfile(l[:-1]) "\
+"if os.path.basename(l[:-1]) not in {"\
+"'.gitignore', "\
+"'.gitmodules', "\
+"'.arcconfig', "\
+"}"\
+"]"
# Build master list
echo -n "Building manifest of files: \"$BASE_DIR/$MANIFEST\" ..."
More information about the Bf-blender-cvs
mailing list