File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33set -x
4- echo Testing $( git log -1 --oneline)
4+ echo " Testing $( git log -1 --oneline) "
55cargo check
66cargo doc
77cargo doc --document-private-items
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ if [ "$(git log --pretty="%H %D" | grep "^[0-9a-f]*.* $1")" = "" ]; then
1212 echo " It seems like the current checked-out commit is not based on $1 "
1313 exit 1
1414fi
15- git rebase --exec ci/check-compiles.sh $1
15+ git rebase --exec ci/check-compiles.sh " $1 "
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ elif [[ "$HOST_PLATFORM" == *darwin* ]]; then
2222 BITCOIND_DL_FILE_NAME=bitcoin-" $BITCOIND_VERSION " -x86_64-apple-darwin.tar.gz
2323 BITCOIND_DL_HASH=" 1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1"
2424else
25- echo " \n\nUnsupported platform: $HOST_PLATFORM Exiting.."
25+ printf " \n\n"
26+ echo " Unsupported platform: $HOST_PLATFORM Exiting.."
2627 exit 1
2728fi
2829
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ set -eox pipefail
66
77# Run fmt
88TMP_FILE=$( mktemp)
9- find . -name ' *.rs' -type f | sort > $TMP_FILE
10- for file in $( comm -23 $TMP_FILE rustfmt_excluded_files) ; do
9+ find . -name ' *.rs' -type f | sort > " $TMP_FILE "
10+ for file in $( comm -23 " $TMP_FILE " rustfmt_excluded_files) ; do
1111 echo " Checking formatting of $file "
12- rustfmt +1.63.0 --check $file
12+ rustfmt +1.63.0 --check " $file "
1313done
You can’t perform that action at this time.
0 commit comments