Skip to content

Commit 186cc21

Browse files
authored
Update build-arduino.sh
1 parent 06dc8d0 commit 186cc21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/build-arduino.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ dR=$(pwd)
5454
# Compile all *.ino files for the Arduino Uno
5555
for f in **/*.ino ; do
5656
echo "Project: $f"
57-
d=$(dirname $f)
57+
d=$(dirname $(readlink -f $f))
58+
echo $d
5859
cd $d
5960
arduino-cli compile -b esp32:esp32:esp32 $f
6061
cd $dR

0 commit comments

Comments
 (0)