1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #11531 from kaspar030/static_tests/forbid_PKG_SOURCE_LOCAL

tools/pr_check: add check preventing PKG_SOURCE_LOCAL merges
This commit is contained in:
Kaspar Schleiser 2019-05-16 16:43:06 +02:00 committed by GitHub
commit 1a3e1590d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,4 +50,10 @@ if [ -n "$TRAVIS_PULL_REQUEST" -o -n "$CI_PULL_NR" ]; then
fi
fi
if git grep -q PKG_SOURCE_LOCAL -- pkg/*/Makefile; then
echo -e "${CERROR}The following files contain a PKG_SOURCE_LOCAL definition:${CRESET}"
git grep -l PKG_SOURCE_LOCAL -- pkg/*/Makefile
EXIT_CODE=1
fi
exit ${EXIT_CODE}