Skip to content

Commit c3613cd

Browse files
committed
wip
1 parent 442321b commit c3613cd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/checkCopyrightPresent.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/bin/bash
2+
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
3+
repo_root="$(cd "${script_dir}/.." && pwd)"
4+
25
filesWithOutCopyright=()
36
filesWithOutSPDX=()
47

5-
for i in $(find ../ -name pom.xml); do
8+
for i in $(find "${repo_root}" -name pom.xml); do
69
echo $i;
710
# only look in non test files but make sure src/main exists.
811
# and not in package-info

0 commit comments

Comments
 (0)