[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [collector/master] Recommend absolute paths in create-tarballs.sh.



commit f4e8983bffe3a759f33e036031404047a11377bd
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Mon Oct 24 12:29:38 2016 +0200

    Recommend absolute paths in create-tarballs.sh.
    
    Some of these paths might work okay if configured relative to the
    working directory.  But it's safer to just use absolute paths.  This
    works fine on the main CollecTor instance.
    
    Fixes #20179.
---
 src/main/resources/create-tarballs.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/create-tarballs.sh b/src/main/resources/create-tarballs.sh
index 4f2c6eb..de05b30 100755
--- a/src/main/resources/create-tarballs.sh
+++ b/src/main/resources/create-tarballs.sh
@@ -9,11 +9,11 @@
 ####
 # Configuration section:
 # The following path should be adjusted, if the CollecTor server layout differs.
-# OUTDIR and TARBALLTARGETDIR have to be given absolute or relative to WORKDIR.
-ARCHIVEDIR="archive"
-WORKDIR="tarballs"
-OUTDIR="../out"
-TARBALLTARGETDIR="../data"
+# All paths should be given absolute.
+ARCHIVEDIR="/srv/collector.torproject.org/collector/archive"
+WORKDIR="/srv/collector.torproject.org/collector/tarballs"
+OUTDIR="/srv/collector.torproject.org/collector/out"
+TARBALLTARGETDIR="/srv/collector.torproject.org/collector/data"
 ### end of configuration section.
 #
 ### script start

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits