From 3f61ea5da1e776fd42833578d21cec46a0c62d53 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 14 Jun 2017 08:15:36 -0400 Subject: [PATCH] Making the script executable --- update-installed.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/update-installed.sh b/update-installed.sh index 8fcdac9..fb67676 100755 --- a/update-installed.sh +++ b/update-installed.sh @@ -11,6 +11,7 @@ if [ ! -d "$PROD_BACKUP" ]; then 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 @@ -19,11 +20,6 @@ sed -i 's/next.gapines.org/gapines.org/' $GIT_LOCATION/config/production.config. # 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 -- 2.11.0