[Bf-blender-cvs] [b07ee4e3a5f] master: Update tgz script, remove deprecated `GZIP` use
Campbell Barton
noreply at git.blender.org
Tue Sep 12 08:15:59 CEST 2017
Commit: b07ee4e3a5ffa2b28dbd1add7b61d44fc1f2f482
Author: Campbell Barton
Date: Tue Sep 12 16:23:10 2017 +1000
Branches: master
https://developer.blender.org/rBb07ee4e3a5ffa2b28dbd1add7b61d44fc1f2f482
Update tgz script, remove deprecated `GZIP` use
===================================================================
M build_files/utils/build_tgz.sh
===================================================================
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"
More information about the Bf-blender-cvs
mailing list