summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 26defce..30cd19b 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -400,7 +400,7 @@ while [ -e "${UPDATEREQUIRED}" ]; do
hook $HOOK
done
-if [ -d "${TO}/project/trace" ]; then
+if [ -d "`dirname "${TO}/${TRACE}"`" ]; then
date -u > "${TO}/${TRACE}"
fi
@@ -420,7 +420,7 @@ if [ x${HUB} = "xtrue" ]; then
# Only trigger slave mirrors if we had a push for stage2 or all
if [ "xtruex" = "x${SYNCSTAGE2}x" ] || [ "xtruex" = "x${SYNCALL}x" ]; then
log "Trigger slave mirrors"
- ${BASEDIR}/bin/runmirrors ${ARCHIVE}
+ ${BASEDIR}/bin/runmirrors "${ARCHIVE}"
log "Trigger slave done"
HOOK=(