From cba319079c30c1e1461fb122357f7d1ad9a95758 Mon Sep 17 00:00:00 2001 From: smlng Date: Tue, 5 Jun 2018 14:14:21 +0200 Subject: [PATCH] tools/doccheck: adapt script to run on macOS --- dist/tools/doccheck/check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/tools/doccheck/check.sh b/dist/tools/doccheck/check.sh index 795c8b239f..d1a0800b9b 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"