Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 18:12:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 18:12:42 +0300
commite6a54b33a9712d7f1a995df47f678fbb78bcd6b7 (patch)
treecfd401dc851da9632d9be07965f209d7c5838e3f /bin/parallel-rsync-repos
parentb808458daa86105dd2101893961338912961ee92 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin/parallel-rsync-repos')
-rwxr-xr-xbin/parallel-rsync-repos6
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