Skip to content

Commit

Permalink
Fix: Create a symlink to mbed-os regardless how the checked out mbed …
Browse files Browse the repository at this point in the history
…repository is named
  • Loading branch information
aentinger committed Feb 10, 2020
1 parent ee724e8 commit 9d22ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbed-os-to-arduino
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mbed_revision () {
if [ -d mbed-os ]; then
if [ ! -L mbed-os ]; then
rm -rf mbed-os
ln -s "$LOCAL_REPO" .
ln -s "$LOCAL_REPO" mbed-os
fi
fi
fi
Expand Down Expand Up @@ -338,4 +338,4 @@ exit 0
#
# echo -e "arduino/cores/arduino/main.cpp\n arduino/cores/arduino/mbed/\narduino/libraries/" > .mbedignore
# #add ARDUINO_AS_MBED_LIBRARY=1 to macros section in mbed_app.json
# echo "https://github.com/arduino/ArduinoCore-mbed#bf6e64771ebe20285b0364756dff856ebbc679dc" > arduino.lib
# echo "https://github.com/arduino/ArduinoCore-mbed#bf6e64771ebe20285b0364756dff856ebbc679dc" > arduino.lib

0 comments on commit 9d22ddf

Please sign in to comment.