Skip to content

Commit 1684457

Browse files
committed
fix(): Move mkdir to top as its already used
1 parent 37f0bec commit 1684457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tools/copy-libs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ fi
3939
if [ -e "$AR_SDK/platformio-build.py" ]; then
4040
rm -rf "$AR_SDK/platformio-build.py"
4141
fi
42+
4243
mkdir -p "$AR_SDK"
44+
mkdir -p "$AR_SDK/lib"
4345

4446
function get_actual_path(){
4547
p="$PWD"; cd "$1"; r="$PWD"; cd "$p"; echo "$r";
@@ -450,8 +452,6 @@ echo " join(FRAMEWORK_DIR, \"cores\", board_config.get(\"build.core\"))"
450452
echo " ]," >> "$AR_PLATFORMIO_PY"
451453
echo "" >> "$AR_PLATFORMIO_PY"
452454

453-
mkdir -p "$AR_SDK/lib"
454-
455455
AR_LIBS="$LD_LIBS"
456456
PIO_LIBS=""
457457
set -- $LD_LIBS

0 commit comments

Comments
 (0)