From 9cdd254ee3e28f8365bc12874a32bb8a73652772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 28 May 2018 11:37:18 +0200 Subject: Fix archive format --- build_repo.sh | 4 ++-- 1 file 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 -- cgit v1.2.3