summaryrefslogtreecommitdiff
path: root/scripts/git/git-push-all.sh
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-06 16:00:50 +1000
committerteor <teor@torproject.org>2019-11-06 16:21:01 +1000
commite6b5a1ff939b286a6640305d4d49600dd3b7b574 (patch)
tree62a32d7fd21491a4e877db7a5dbd56668785326a /scripts/git/git-push-all.sh
parentf7b45975bf4d660d596542f5efd62fd152144199 (diff)
downloadtor-e6b5a1ff939b286a6640305d4d49600dd3b7b574.tar.gz
tor-e6b5a1ff939b286a6640305d4d49600dd3b7b574.zip
shellcheck: Fix minor issues in some scripts
Fix minor issues in git-push-all.sh, git-setup-dirs.sh and test_parseconf.sh. Fixes bug 32402; not in any released version of tor. Obviously correct changes to already reviewed code.
Diffstat (limited to 'scripts/git/git-push-all.sh')
-rwxr-xr-xscripts/git/git-push-all.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/git/git-push-all.sh b/scripts/git/git-push-all.sh
index a1ba754c2f..7bbeaecbd0 100755
--- a/scripts/git/git-push-all.sh
+++ b/scripts/git/git-push-all.sh
@@ -309,15 +309,16 @@ else
fi
if [ "$MASTER_BRANCH" ] || [ "$MAINT_BRANCHES" ] \
|| [ "$RELEASE_BRANCHES" ]; then
- printf "Pushing with %ss delays, so CI runs in this order:\n" "$PUSH_DELAY"
+ printf "Pushing with %ss delays, so CI runs in this order:\\n" \
+ "$PUSH_DELAY"
if [ "$MASTER_BRANCH" ]; then
- printf "%s\n" "$MASTER_BRANCH"
+ printf "%s\\n" "$MASTER_BRANCH"
fi
if [ "$MAINT_BRANCHES" ]; then
- printf "%s\n" "$MAINT_BRANCHES"
+ printf "%s\\n" "$MAINT_BRANCHES"
fi
if [ "$RELEASE_BRANCHES" ]; then
- printf "%s\n" "$RELEASE_BRANCHES"
+ printf "%s\\n" "$RELEASE_BRANCHES"
fi
fi
# shellcheck disable=SC2086