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>2017-09-12 09:23:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-09-12 09:25:19 +0300
commitb07ee4e3a5ffa2b28dbd1add7b61d44fc1f2f482 (patch)
tree632e2f192671207708ccfdf8f8d16418da3033bb /build_files/utils
parent35ee9ff7a00020af016b0bd95a08c82794158cb6 (diff)
Update tgz script, remove deprecated `GZIP` use
Diffstat (limited to 'build_files/utils')
-rwxr-xr-xbuild_files/utils/build_tgz.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 865df277605..c568d17db1c 100755
--- a/build_files/utils/build_tgz.sh
+++ b/build_files/utils/build_tgz.sh
@@ -53,7 +53,11 @@ echo "OK"
# Create the tarball
cd "$blender_srcdir"
echo -n "Creating archive: \"$BASE_DIR/$TARBALL\" ..."
-GZIP=-9 tar --transform "s,^,blender-$VERSION/,g" -zcf "$BASE_DIR/$TARBALL" -T "$BASE_DIR/$MANIFEST"
+tar --transform "s,^,blender-$VERSION/,g" \
+ --use-compress-program="gzip --best" \
+ --create \
+ --file="$BASE_DIR/$TARBALL" \
+ --files-from="$BASE_DIR/$MANIFEST"
echo "OK"