Skip to content

Commit 9d22ddf

Browse files
committed
Fix: Create a symlink to mbed-os regardless how the checked out mbed repository is named
1 parent ee724e8 commit 9d22ddf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed-os-to-arduino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mbed_revision () {
5151
if [ -d mbed-os ]; then
5252
if [ ! -L mbed-os ]; then
5353
rm -rf mbed-os
54-
ln -s "$LOCAL_REPO" .
54+
ln -s "$LOCAL_REPO" mbed-os
5555
fi
5656
fi
5757
fi
@@ -338,4 +338,4 @@ exit 0
338338
#
339339
# echo -e "arduino/cores/arduino/main.cpp\n arduino/cores/arduino/mbed/\narduino/libraries/" > .mbedignore
340340
# #add ARDUINO_AS_MBED_LIBRARY=1 to macros section in mbed_app.json
341-
# echo "https://github.com/arduino/ArduinoCore-mbed#bf6e64771ebe20285b0364756dff856ebbc679dc" > arduino.lib
341+
# echo "https://github.com/arduino/ArduinoCore-mbed#bf6e64771ebe20285b0364756dff856ebbc679dc" > arduino.lib

0 commit comments

Comments
 (0)