From 186cc21192c242fdd6725b9ec1b832bfb37fda5b Mon Sep 17 00:00:00 2001 From: RobertoHE Date: Mon, 28 Nov 2022 17:06:58 +0100 Subject: [PATCH] Update build-arduino.sh --- ci/build-arduino.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/build-arduino.sh b/ci/build-arduino.sh index aaca623..5c67bfd 100644 --- a/ci/build-arduino.sh +++ b/ci/build-arduino.sh @@ -54,7 +54,8 @@ dR=$(pwd) # Compile all *.ino files for the Arduino Uno for f in **/*.ino ; do echo "Project: $f" - d=$(dirname $f) + d=$(dirname $(readlink -f $f)) + echo $d cd $d arduino-cli compile -b esp32:esp32:esp32 $f cd $dR