Skip to content

Commit

Permalink
fix(): Move mkdir to top as its already used
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y committed Nov 6, 2024
1 parent 3ff7a1e commit bc48ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/copy-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ fi
if [ -e "$AR_SDK/platformio-build.py" ]; then
rm -rf "$AR_SDK/platformio-build.py"
fi

mkdir -p "$AR_SDK"
mkdir -p "$AR_SDK/lib"

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

mkdir -p "$AR_SDK/lib"

AR_LIBS="$LD_LIBS"
PIO_LIBS=""
set -- $LD_LIBS
Expand Down

0 comments on commit bc48ab4

Please sign in to comment.