Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dependency_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ set -e
SRC_DIR="$(cd "$(dirname "$0")" && pwd -P)"
OPEN_THREAD_DIR="${SRC_DIR}"/openthread
IMAGES=`docker images --filter=reference='*:latest' | awk '{print $1}'`
OPENTHREAD_VERSION=${OPENTHREAD_VERSION:-master}

function install_openthread() {
if [ ! -d "${OPEN_THREAD_DIR}" ]; then
wget https://github.com/openthread/openthread/archive/master.zip
unzip master.zip
rm master.zip
mv openthread-master openthread
wget "https://github.com/openthread/openthread/archive/${OPENTHREAD_VERSION}.zip" -O openthread.zip
unzip openthread.zip
rm openthread.zip
mv "openthread-${OPENTHREAD_VERSION}" openthread
fi
pushd .
cd openthread
Expand Down