diff options
author | Milo Casagrande <milo@ubuntu.com> | 2013-03-12 17:31:47 +0100 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-03-12 17:31:47 +0100 |
commit | f0e082535e445884ca3ab80ee8ad22380100b6dc (patch) | |
tree | 93b86984ca7d6c560078e9c146cf98ae3631943f | |
parent | a2a42d39fd7aca5e2c2a4e823aeff573d6b77c8c (diff) |
Removed echo statements.
-rw-r--r-- | scripts/rsync-mirror | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/rsync-mirror b/scripts/rsync-mirror index 158f4c1..56b5ae8 100644 --- a/scripts/rsync-mirror +++ b/scripts/rsync-mirror @@ -37,11 +37,9 @@ LANDING_TEAMS_PATH=$PRIVATE_PATH/landing-teams function set_own_perm { # At the moment defaults everything to the rhodecode user and group. # Might change in the future. - echo "Setting directories ownership..." chown -R $RHODECODE_USER:$RHODECODE_USER $LOCAL_REPO_PATH # chmod-correctly directories and files. - echo "Setting files and directories permissions..." find $LOCAL_REPO_PATH -type d -exec chmod 775 {} \; find $LOCAL_REPO_PATH -type f -exec chmod 664 {} \; } @@ -54,22 +52,18 @@ trap set_own_perm EXIT HUP QUIT TERM KILL # of RhodeCode git repositories one. if [ ! -d $LINARO_PRIVATE_PATH ] then - echo "Creating linaro-private directory..." mkdir -p $LINARO_PRIVATE_PATH fi if [ ! -d $LANDING_TEAMS_PATH ] then - echo "Creating landing-teams directory..." mkdir -p $LANDING_TEAMS_PATH fi # Sync private repositories, following symlinks and deleting locally. -echo "Rsyncing linaro-private repositories..." rsync -e "ssh -i $SSH_KEY -l $SSH_USER" -r -l --copy-unsafe-links -z -t \ --compress-level=8 --delete \ $SSH_USER@$GIT_SERVER:$LINARO_PRIVATE_REMOTE $LINARO_PRIVATE_PATH -echo "Rsyncing landing-teams private repositories..." rsync -e "ssh -i $SSH_KEY -l $SSH_USER" -r -l --copy-unsafe-links -z -t \ --compress-level=8 --delete \ $SSH_USER@$GIT_SERVER:$LANDING_TEAMS_REMOTE $LANDING_TEAMS_PATH @@ -77,7 +71,6 @@ rsync -e "ssh -i $SSH_KEY -l $SSH_USER" -r -l --copy-unsafe-links -z -t \ # Sync normal repositories, following symlinks and deleting locally. # Filter on the 'private' directory, otherwise it will be deleted since # we copy everything in the top directories of RhodeCode git. -echo "Rsyncing public repositories..." rsync -e "ssh -i $SSH_KEY -l $SSH_USER" -r -l --copy-unsafe-links -z -t \ --compress-level=8 --delete --filter=-r_/private/ \ $SSH_USER@$GIT_SERVER:$PUBLIC_REPO_PATH $LOCAL_REPO_PATH |