diff options
Diffstat (limited to 'helpers/lh_binary_tar')
-rwxr-xr-x | helpers/lh_binary_tar | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/helpers/lh_binary_tar b/helpers/lh_binary_tar index 110e5cd..7c769d5 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 |