diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-09 15:12:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-09 15:12:42 +0000 |
commit | e6a54b33a9712d7f1a995df47f678fbb78bcd6b7 (patch) | |
tree | cfd401dc851da9632d9be07965f209d7c5838e3f /bin/parallel-rsync-repos | |
parent | b808458daa86105dd2101893961338912961ee92 (diff) | |
download | gitlab-ce-e6a54b33a9712d7f1a995df47f678fbb78bcd6b7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin/parallel-rsync-repos')
-rwxr-xr-x | bin/parallel-rsync-repos | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/parallel-rsync-repos b/bin/parallel-rsync-repos index bd849371766..21921148fa0 100755 --- a/bin/parallel-rsync-repos +++ b/bin/parallel-rsync-repos @@ -32,20 +32,20 @@ if [ -z "$RSYNC" ] ; then RSYNC=rsync fi -if ! cd "$SRC" ; then +if ! cd $SRC ; then echo "cd $SRC failed" exit 1 fi rsyncjob() { - relative_dir="./${1#"$SRC"}" + relative_dir="./${1#$SRC}" if ! $RSYNC --delete --relative -a "$relative_dir" "$DEST" ; then echo "rsync $1 failed" return 1 fi - echo "$1" >> "$LOGFILE" + echo "$1" >> $LOGFILE } export LOGFILE SRC DEST RSYNC |