From ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Sep 2009 09:39:13 +0200 Subject: Allowing to overwrite default gzip options through config switch or option. --- helpers/lh_binary_tar | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'helpers/lh_binary_tar') diff --git a/helpers/lh_binary_tar b/helpers/lh_binary_tar index 110e5cdf7..7c769d594 100755 --- a/helpers/lh_binary_tar +++ b/helpers/lh_binary_tar @@ -45,13 +45,8 @@ Create_lockfile .lock # Remove old binary rm -f binary.tar.gz -if gzip --help | grep -qs '\-\-rsyncable' -then - tar cf binary-tar.tar binary - gzip --rsyncable --best binary-tar.tar -else - tar cfz binary-tar.tar.gz binary -fi +tar cf binary-tar.tar binary +gzip ${GZIP_OPTIONS} binary-tar.tar # Creating stage file Create_stagefile .stage/binary_tar -- cgit v1.2.3