chiark / gitweb /
Keep track of the mirror target directory in an environment variable.
[mirror-admin] / etc / ftpsync-common.conf
index 61712f4d0ae0072ea36e8438cc58e2850278e76a..5af48ee831c57d068bd5fb80e13ab0576deea0da 100644 (file)
@@ -15,7 +15,7 @@
 ## CAREFUL, this directory will contain the mirror. Everything else that
 ## might have happened to be in there WILL BE GONE after the mirror sync!
 : ${LABEL="debian"}
-: ${TO="/mnt/mirror/$LABEL/"}
+: ${TO="$MIRRORS/$LABEL/"}
 
 ## The upstream name of the rsync share.
 : ${RSYNC_PATH="$LABEL"}