diff --git a/dist/tools/doccheck/check.sh b/dist/tools/doccheck/check.sh index f7fa7360e3..6cd2e6ec69 100755 --- a/dist/tools/doccheck/check.sh +++ b/dist/tools/doccheck/check.sh @@ -8,7 +8,7 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. -RIOTBASE=$(readlink -f "$(dirname $(realpath $0))/../../..") +RIOTBASE="$(cd $(dirname $0)/../../..; pwd)" if tput colors &> /dev/null && [ $(tput colors) -ge 8 ]; then CERROR="\e[1;31m"