Skip to content

Commit

Permalink
make-pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
EskoDijk committed Jul 4, 2024
1 parent 371f155 commit 82dc7aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ot-rfsim/script/build
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ build()
fi
if [[ ${OT_DIR} != "${old_ot_dir}" ]]; then
echo "Detected new version build of OpenThread: cleaning build dir."
rm -rf ../${builddir}/*
rm -rf ../${builddir}/.ninja*
rm -rf ../"${builddir}"/*
rm -rf ../"${builddir}"/.ninja*
fi
echo "${OT_DIR}" >OT_DIR.txt

Expand Down
5 changes: 0 additions & 5 deletions ot-rfsim/script/build_all
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ main()
for VER in v11 v12 v13 latest br; do
SCRIPTNAME="./script/build_$VER"
FTDNAME="./ot-versions/ot-cli-ftd_$VER"
OT_DIR=""
if [ "$VER" == "latest" ]; then
FTDNAME="./ot-versions/ot-cli-ftd"
fi
Expand All @@ -48,10 +47,6 @@ main()
printf '\n%s: file %s is present, skipping this version build.\n\n' "${VER}" "${FTDNAME}"
else
printf '%s: building %s' "${VER}" "${FTDNAME}"
if [[ $VER == "v11" || $VER == "v12" || $VER == "v13" ]]; then
OT_DIR="openthread_${VER}"
fi

${SCRIPTNAME} "${options[@]}" || printf \
'\n********************\n Failed build script: %s - skipping.\n********************\n\n' "${SCRIPTNAME}"
fi
Expand Down

0 comments on commit 82dc7aa

Please sign in to comment.