diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-02-14 12:39:44 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-02-14 12:39:44 +0100 |
commit | 287a2c9b931c701c5327e80e1fc49a83a3c6a742 (patch) | |
tree | 4b1a95aa56abb6608b4e033f88cb86ff92396e0e /fb.in | |
parent | 4fb7457e611e583c649f2738b5ab8260f4bf4dfe (diff) |
Don't save timestamp when gzipping
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.in')
-rw-r--r-- | fb.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,7 +127,7 @@ is_url() { do_tar_upload() { if [ "$compress" = "1" ]; then file="$tmpdir/upload.tar.gz" - tar -cf - -- "$@" | gzip -c > "$file" || return 1 + tar -cf - -- "$@" | gzip -n -c > "$file" || return 1 elif [ "$compress" = "2" ]; then file="$tmpdir/upload.tar.xz" tar -cf - -- "$@" | xz -c > "$file" || return 1 @@ -155,7 +155,7 @@ do_upload() { cd "$basedirname" if [ "$compress" = "1" ]; then file="$tmpdir/$basefilename.tar.gz" - tar -cf - -- "$basefilename" | gzip -c > "$file" || return 1 + tar -cf - -- "$basefilename" | gzip -n -c > "$file" || return 1 elif [ "$compress" = "2" ]; then file="$tmpdir/$basefilename.tar.xz" tar -cf - -- "$basefilename" | xz -c > "$file" || return 1 @@ -165,7 +165,7 @@ do_upload() { fi else if [ "$compress" = "1" ]; then - gzip -c -- "$file" > "$tmpdir/$basefilename.gz" || return 1 + gzip -n -c -- "$file" > "$tmpdir/$basefilename.gz" || return 1 file="$tmpdir/$basefilename.gz" elif [ "$compress" = "2" ]; then xz -c -- "$file" > "$tmpdir/$basefilename.xz" || return 1 |