Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-01-08 14:48:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-08 14:53:23 +0300
commit37d748cd17590273b77a2850cc4ffd8d33051a6c (patch)
treea6e485a673baa0a491b72d8b8b5680c13bbb439d /build_files/utils
parentdef2ef88b089b69b2f4e1884a916232101edc8ae (diff)
exclude git/arc files from tgz archive
Diffstat (limited to 'build_files/utils')
-rwxr-xr-xbuild_files/utils/build_tgz.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 16899fd34b2..3c921081c29 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\" ..."