aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-05-28 11:37:18 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-05-28 11:37:18 +0200
commit9cdd254ee3e28f8365bc12874a32bb8a73652772 (patch)
tree75d4ff44ede3f3573e62266545b2b2f2580d293e
parentcf99c52b4265b7c26f954f89e27a25e863f3088d (diff)
downloadturris-myrepo-next.tar.gz
turris-myrepo-next.tar.bz2
turris-myrepo-next.zip
Fix archive formatnext
-rwxr-xr-xbuild_repo.sh4
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