Skip to content

Commit

Permalink
keep compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hosek committed Sep 9, 2020
1 parent bd11b9c commit 94edbfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 00_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ git clone --depth=1 https://github.com/Ai-Thinker-Open/Telink_825X_SDK SDK

echo \#\# Download ATC_MiThermometer and patch makefile
git clone https://github.com/atc1441/ATC_MiThermometer
sed -i '' 's#TEL_PATH := ..\/..#TEL_PATH := ..\/../SDK\/#g' ATC_MiThermometer/ATC_Thermometer/makefile

if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' 's#TEL_PATH := ..\/..#TEL_PATH := ..\/../SDK\/#g' ATC_MiThermometer/ATC_Thermometer/makefile
else
sed -i "/TEL_PATH := ..\/../c TEL_PATH := ..\/../SDK\/" ATC_MiThermometer/ATC_Thermometer/makefile
fi

0 comments on commit 94edbfe

Please sign in to comment.