Update tgz script, remove deprecated `GZIP` use
authorCampbell Barton <ideasman42@gmail.com>
Tue, 12 Sep 2017 06:23:10 +0000 (16:23 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 12 Sep 2017 06:25:19 +0000 (16:25 +1000)
build_files/utils/build_tgz.sh

index 865df27..c568d17 100755 (executable)
@@ -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"