diff options
author | Paul Spooren <mail@aparcar.org> | 2021-02-13 00:39:35 +0300 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-02-13 00:40:00 +0300 |
commit | 62692615da40e2f2333f66e746529baf48e60acd (patch) | |
tree | 73b20090a8494f51d0fb377917f4150bc63c02b0 /docker-sdk.sh | |
parent | 713696a6a76dfa6a19e96aa827c956972c5c5e5b (diff) |
Use wget for file downloads
By changing the FILE_HOST variable it is possible to switch to different
hosts like the CDN. Overall it makes the script easier to use for other
project which don't offer the full rsync server setup.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'docker-sdk.sh')
-rwxr-xr-x | docker-sdk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-sdk.sh b/docker-sdk.sh index 653051e..bb812b6 100755 --- a/docker-sdk.sh +++ b/docker-sdk.sh @@ -10,7 +10,7 @@ export TARGET="${TARGET:-x86-64}" export ARCH="${ARCH:-x86_64}" export VERSION="${VERSION:-snapshot}" export DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-sdk}" -export DOWNLOAD_FILE="openwrt-sdk-*.Linux-x86_64.tar.xz" +export DOWNLOAD_FILE="openwrt-sdk-.*.Linux-x86_64.tar.xz" if [ "$VERSION" = "snapshot" ]; then export BRANCH="master" |