summaryrefslogtreecommitdiff
path: root/helpers/lh_source_tar
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_tar')
-rwxr-xr-xhelpers/lh_source_tar9
1 files changed, 2 insertions, 7 deletions
diff --git a/helpers/lh_source_tar b/helpers/lh_source_tar
index 64c191c..cbf3f83 100755
--- a/helpers/lh_source_tar
+++ b/helpers/lh_source_tar
@@ -55,13 +55,8 @@ then
fi
# Create tarball
-if gzip --help | grep -qs '\-\-rsyncable'
-then
- tar cf source.tar source
- gzip --rsyncable --best source.tar
-else
- tar cfz source.tar.gz source
-fi
+tar cf source.tar source
+gzip ${GZIP_OPTIONS} source.tar
# Creating stage file
Create_stagefile .stage/source_tar