We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442321b commit c3613cdCopy full SHA for c3613cd
1 file changed
scripts/checkCopyrightPresent.sh
@@ -1,8 +1,11 @@
1
#!/bin/bash
2
+script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
3
+repo_root="$(cd "${script_dir}/.." && pwd)"
4
+
5
filesWithOutCopyright=()
6
filesWithOutSPDX=()
7
-for i in $(find ../ -name pom.xml); do
8
+for i in $(find "${repo_root}" -name pom.xml); do
9
echo $i;
10
# only look in non test files but make sure src/main exists.
11
# and not in package-info
0 commit comments