@@ -23,7 +23,7 @@ PR_PREFIX="bitcoin/bitcoin"
2323# Set your git worktree location here. This is where the merges will be done, and where you should checkout the merged-master branch.
2424WORKTREE=" /home/byron/code/elements-worktree"
2525
26- # Set your parallellism during build/test. You probably want as many cores as possible.
26+ # Set your parallelism during build/test. You probably want as many cores as possible.
2727# Parallel functional tests can somewhat exceed your core count, depends on the build machine CPU/RAM.
2828PARALLEL_BUILD=23 # passed to make -j
2929PARALLEL_TEST=46 # passed to test_runner.py --jobs
@@ -142,7 +142,7 @@ echo start > merge.log
142142
143143quietly () {
144144 if [[ " $VERBOSE " == " 1" ]]; then
145- date | tee --append merge.log
145+ date | tee --append merge.log
146146 time " $@ " 2>&1 | tee --append merge.log
147147 else
148148 chronic " $@ "
@@ -158,7 +158,7 @@ notify () {
158158 echo " $MESSAGE "
159159 fi
160160 if [[ " $2 " == " 1" ]]; then
161- exit 1
161+ exit 1
162162 fi
163163}
164164
170170 CHAIN=$( echo " $line " | cut -d ' ' -f 4)
171171 PR_ID=$( echo " $line " | grep -o -P " #\d+" )
172172
173- GIT_HEAD=$( git rev-parse HEAD)
173+ GIT_HEAD=$( git rev-parse HEAD)
174174
175175 # # Do it
176176 if [[ " $1 " == " list-only" ]]; then
207207 )
208208 for STOPPER in " ${STOPPERS[@]} "
209209 do
210- if [[ " $PR_ID " == * " $STOPPER " * ]]; then
211- echo " Found $STOPPER in $PR_ID ! Exiting."
212- notify " hit stopper, exiting"
213- exit 1
214- else
215- echo " Didn't find $STOPPER in $PR_ID . Continuing."
216- fi
210+ if [[ " $PR_ID " == * " $STOPPER " * ]]; then
211+ echo " Found $STOPPER in $PR_ID ! Exiting."
212+ notify " hit stopper, exiting"
213+ exit 1
214+ else
215+ echo " Didn't find $STOPPER in $PR_ID . Continuing."
216+ fi
217217 done
218218
219219 if [[ " $SKIP_MERGE " == " 1" ]]; then
0 commit comments