From b07ee4e3a5ffa2b28dbd1add7b61d44fc1f2f482 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 Sep 2017 16:23:10 +1000 Subject: Update tgz script, remove deprecated `GZIP` use --- build_files/utils/build_tgz.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build_files/utils') 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" -- cgit v1.2.3