diff options
author | Daniel Baumann <daniel@debian.org> | 2009-09-11 09:39:13 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:46 +0100 |
commit | ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f (patch) | |
tree | 698870045e2c5a468166df30694ec67b6522462e /helpers/lh_source_net | |
parent | a8e71bdb038388640eeb2276f6697546aded3505 (diff) | |
download | live-build-ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f.zip live-build-ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f.tar.gz |
Allowing to overwrite default gzip options through config switch or option.
Diffstat (limited to 'helpers/lh_source_net')
-rwxr-xr-x | helpers/lh_source_net | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/helpers/lh_source_net b/helpers/lh_source_net index 8ffeb3c..eb32ed9 100755 --- a/helpers/lh_source_net +++ b/helpers/lh_source_net @@ -54,13 +54,8 @@ then fi # Create tarball -if gzip --help | grep -qs '\-\-rsyncable' -then - tar cf source-net.tar source - gzip --rsyncable --best source-net.tar -else - tar cfz source-net.tar.gz source -fi +tar cf source-net.tar source +gzip ${GZIP_OPTIONS} source-net.tar # Creating stage file Create_stagefile .stage/source_net |