From 0b3ddc7cf0d857cc925785454de896e2ed616d82 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 1 Nov 2008 00:36:40 +0100 Subject: more "" and `` Signed-off-by: Joerg Jaspert --- bin/ftpsync | 4 ++-- 1 file 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=( -- cgit v1.2.3