summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_net
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-09-11 09:39:13 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:46 +0100
commitec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f (patch)
tree698870045e2c5a468166df30694ec67b6522462e /helpers/lh_binary_net
parenta8e71bdb038388640eeb2276f6697546aded3505 (diff)
downloadlive-build-ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f.zip
live-build-ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f.tar.gz
Allowing to overwrite default gzip options through config switch or option.
Diffstat (limited to 'helpers/lh_binary_net')
-rwxr-xr-xhelpers/lh_binary_net9
1 files changed, 2 insertions, 7 deletions
diff --git a/helpers/lh_binary_net b/helpers/lh_binary_net
index 3e962c4..15f6388 100755
--- a/helpers/lh_binary_net
+++ b/helpers/lh_binary_net
@@ -140,13 +140,8 @@ case "${LH_NET_TARBALL}" in
;;
gzip)
- if gzip --help | grep -qs "\-\-rsyncable"
- then
- tar cf ../binary-net.tar *
- gzip --rsyncable --best ../binary-net.tar
- else
- tar cfz ../binary-net.tar.gz *
- fi
+ tar cf ../binary-net.tar *
+ gzip ${GZIP_OPTIONS} ../binary-net.tar
;;
tar)