diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-01 00:36:40 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-01 00:36:40 +0100 |
commit | 0b3ddc7cf0d857cc925785454de896e2ed616d82 (patch) | |
tree | bc6f782c4e48bc87729565dc3eaf46016cad7056 | |
parent | 1987881fd317a0f11484991257268687706b49f2 (diff) |
more "" and ``
Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-x | bin/ftpsync | 4 |
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=( |