diff options
-rwxr-xr-x | build_repo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_repo.sh b/build_repo.sh index 7d61b5c..37aaba1 100755 --- a/build_repo.sh +++ b/build_repo.sh @@ -18,8 +18,8 @@ pull_sdk() { if [ ! -e .$1-sdk-clean ] || [ $(expr $(date -u +%s) - $(stat -c %Z .$1-sdk-clean)) -gt 86400 ]; then rm -rf .$1-sdk-clean echo -e "\e[1;34mGetting current SDK for $1\e[0m" - curl "$2" | tar -xjf - - mv OpenWrt-SDK-* .$1-sdk-clean + curl "$2" | tar -xJf - + mv turrisos-sdk-* .$1-sdk-clean fi # Copy clean sdk rm -rf .$1-sdk |