echo "Production backup directory $PROD_BACKUP not found, creating it..."
mkdir "$PROD_BACKUP"
fi
+
rsync -auv "$OSRF_WEB_ROOT"/"$REPO_NAME"/ "$PROD_BACKUP"/
date > "$PROD_BACKUP"/last_sync_date
# now copy the git files over to the web dir
rsync -auv --exclude="install*.sh" --exclude=".git" "$GIT_LOCATION"/ "$OSRF_WEB_ROOT"/"$REPO_NAME"/
-rsync -auv "$OSRF_WEB_ROOT"/"$REPO_NAME"/ "$PROD_BACKUP"/
-date > "$PROD_BACKUP"/last_sync_date
-
-# now copy the git files over to the web dir
-rsync -auv --exclude="install*.sh" --exclude=".git" "GIT_LOCATION"/ "$OSRF_WEB_ROOT"/"$REPO_NAME"/
# and now do the rest of the bricks
for i in $BRICK_HEADS; do