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

Merge pull request #8220 from miri64/dist/enh/docheck

docheck: make doccheck executable from any directory
This commit is contained in:
Martine Lenders 2017-12-18 10:50:39 +01:00 committed by GitHub
commit a4d3310a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,9 @@
RIOTBASE=$(readlink -f "$(dirname $(realpath $0))/../../..")
ERRORS=$(make doc 2>&1 | grep '.*warning' | sed "s#${PWD}/\([^:]*\)#\1#g")
ERRORS=$(make -C "${RIOTBASE}" doc 2>&1 | \
grep '.*warning' | \
sed "s#${PWD}/\([^:]*\)#\1#g")
if [ -n "${ERRORS}" ]
then