Skip to content

Commit 23c3731

Browse files
committed
Fix path to licensecheck in test
1 parent aa55f3a commit 23c3731

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/code_layout/test_licenses.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
INCLUDE_EXTENSIONS="h|cpp|hpp|py|c"
66
EXCLUDE_LIST="(.*\\/(qtermwidget)\\/|ui_defaults\\.h|CREDITS|TODO|README|URI|^[^.]*$|.*\\.(?!($INCLUDE_EXTENSIONS)$))"
7+
LICENSE_CHECK="external/licensecheck/licensecheck.pl"
78

89
DIR=$(git rev-parse --show-toplevel)
910

1011
pushd "${DIR}" || exit > /dev/null
11-
missing=$(! { external/licensecheck/licensecheck.pl -r -i "$EXCLUDE_LIST" src & licensecheck -r -i "$EXCLUDE_LIST" python; } | grep UNKNOWN)
12+
missing=$(! { "$LICENSE_CHECK" -r -i "$EXCLUDE_LIST" src & "$LICENSE_CHECK" -r -i "$EXCLUDE_LIST" python; } | grep UNKNOWN)
1213

1314
popd || exit > /dev/null
1415

0 commit comments

Comments
 (0)