1#!/bin/bash 2 3cd $(dirname $0) 4 5# if threadx repo does not exist, clone it 6[ -d threadx ] || 7git clone https://github.com/eclipse-threadx/threadx.git 8 9[ -f .run.sh ] || ln -sf threadx/scripts/cmake_bootstrap.sh .run.sh 10./.run.sh $* 11 12#!/bin/bash 13