[tor-commits] [collector/master] Actually fix #26193 now.

karsten at torproject.org karsten at torproject.org
Thu Aug 9 06:29:30 UTC 2018


commit 5e1ae90ec4ff84ece0025d042d7651bc744837db
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Aug 9 08:28:06 2018 +0200

    Actually fix #26193 now.
    
    The earlier attempt to fix this issue in 98244f3 did not work, because
    it was missing the important `-f` switch.
---
 CHANGELOG.md                          | 7 +++++++
 src/main/resources/create-tarballs.sh | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index aad7213..d98520c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+# Changes in version 1.?.? - 2018-0?-??
+
+ * Minor changes
+   - Once more, fix the bug in the tarball-creation script where
+     tarballs are not compressed in a run following an aborted run.
+
+
 # Changes in version 1.7.0 - 2018-07-14
 
  * Medium changes
diff --git a/src/main/resources/create-tarballs.sh b/src/main/resources/create-tarballs.sh
index b633826..d247c52 100755
--- a/src/main/resources/create-tarballs.sh
+++ b/src/main/resources/create-tarballs.sh
@@ -100,7 +100,7 @@ for (( i = 0 ; i < ${#TARBALLS[@]} ; i++ )); do
   echo `date` "Creating" ${TARBALLS[$i]}'.tar'
   tar chf ${TARBALLS[$i]}.tar ${TARBALLS[$i]}
   echo `date` "Compressing" ${TARBALLS[$i]}'.tar'
-  xz -9e ${TARBALLS[$i]}.tar
+  xz -9e -f ${TARBALLS[$i]}.tar
 done
 
 cd $OUTDIR/webstats/



More information about the tor-commits mailing list