File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -278,15 +278,13 @@ check-go-version-%:
278
278
279
279
# Test for spelling errors.
280
280
.PHONY : test-spelling
281
- test : test-spelling
282
281
test-spelling :
283
282
@ echo ; echo " ### $@ :"
284
- @ ./release-tools/verify-spelling.sh
283
+ @ ./release-tools/verify-spelling.sh " $( pwd ) "
285
284
286
285
# Test the boilerplates of the files.
287
286
.PHONY : test-boilerplate
288
- test : test-boilerplate
289
287
test-boilerplate :
290
288
@ echo ; echo " ### $@ :"
291
- @ ./release-tools/verify-boilerplate.sh
289
+ @ ./release-tools/verify-boilerplate.sh " $( pwd ) "
292
290
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ if [[ -z "$(command -v python)" ]]; then
25
25
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
26
26
fi
27
27
28
- # The csi-release-tools directory.
29
- TOOLS=" $( dirname " ${BASH_SOURCE[0]} " ) "
28
+ # The csi-release-tools directory (absolute path) .
29
+ TOOLS=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd -P ) "
30
30
31
31
# Directory to check. Default is the parent of the tools themselves.
32
32
ROOT=" ${1:- ${TOOLS} / ..} "
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ set -o pipefail
20
20
21
21
TOOL_VERSION=" v0.3.4"
22
22
23
- # The csi-release-tools directory.
24
- TOOLS=" $( dirname " ${BASH_SOURCE[0]} " ) "
23
+ # The csi-release-tools directory (absolute path) .
24
+ TOOLS=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd -P ) "
25
25
26
26
# Directory to check. Default is the parent of the tools themselves.
27
27
ROOT=" ${1:- ${TOOLS} / ..} "
You can’t perform that action at this time.
0 commit comments