Skip to content

Commit dbd8967

Browse files
committed
verify-boilerplate.sh: fix path to script
The previous path was wrong because it was relative to the directory being checked, not the release-tools directory: csi-driver-host-path$ ./release-tools/verify-boilerplate.sh Verifying boilerplate ./release-tools/verify-boilerplate.sh: line 37: /nvme/gopath/src/github.com/kubernetes-csi/csi-driver-host-path/boilerplate/boilerplate.py: No such file or directory Done
1 parent 9289fd1 commit dbd8967

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: verify-boilerplate.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ TOOLS="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
3131
# Directory to check. Default is the parent of the tools themselves.
3232
ROOT="${1:-${TOOLS}/..}"
3333

34-
boilerDir="${ROOT}/boilerplate"
35-
boiler="${boilerDir}/boilerplate.py"
34+
boiler="${TOOLS}/boilerplate/boilerplate.py"
3635

3736
mapfile -t files_need_boilerplate < <("${boiler}" --rootdir="${ROOT}" --verbose)
3837

0 commit comments

Comments
 (0)