We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa55f3a commit 23c3731Copy full SHA for 23c3731
tests/code_layout/test_licenses.sh
@@ -4,11 +4,12 @@
4
5
INCLUDE_EXTENSIONS="h|cpp|hpp|py|c"
6
EXCLUDE_LIST="(.*\\/(qtermwidget)\\/|ui_defaults\\.h|CREDITS|TODO|README|URI|^[^.]*$|.*\\.(?!($INCLUDE_EXTENSIONS)$))"
7
+LICENSE_CHECK="external/licensecheck/licensecheck.pl"
8
9
DIR=$(git rev-parse --show-toplevel)
10
11
pushd "${DIR}" || exit > /dev/null
-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)
13
14
popd || exit > /dev/null
15
0 commit comments