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 1
1
#! /bin/sh
2
2
set -e
3
3
set -x
4
- echo Testing $( git log -1 --oneline)
4
+ echo " Testing $( git log -1 --oneline) "
5
5
cargo check
6
6
cargo doc
7
7
cargo 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
12
12
echo " It seems like the current checked-out commit is not based on $1 "
13
13
exit 1
14
14
fi
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
22
22
BITCOIND_DL_FILE_NAME=bitcoin-" $BITCOIND_VERSION " -x86_64-apple-darwin.tar.gz
23
23
BITCOIND_DL_HASH=" 1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1"
24
24
else
25
- echo " \n\nUnsupported platform: $HOST_PLATFORM Exiting.."
25
+ printf " \n\n"
26
+ echo " Unsupported platform: $HOST_PLATFORM Exiting.."
26
27
exit 1
27
28
fi
28
29
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ set -eox pipefail
6
6
7
7
# Run fmt
8
8
TMP_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
11
11
echo " Checking formatting of $file "
12
- rustfmt +1.63.0 --check $file
12
+ rustfmt +1.63.0 --check " $file "
13
13
done
You can’t perform that action at this time.
0 commit comments