diff --git a/.drone.yml b/.drone.yml index 95cf41e..f6eea50 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,7 +32,7 @@ steps: - name: get qemu image: busybox commands: - - ./get_qemu.sh x86_64 + - sh ./get_qemu.sh x86_64 - name: build image: plugins/docker @@ -63,7 +63,7 @@ steps: - name: get qemu image: busybox commands: - - ./get_qemu.sh arm + - sh ./get_qemu.sh arm - name: build image: plugins/docker @@ -97,7 +97,7 @@ steps: - name: get qemu image: busybox commands: - - ./get_qemu.sh arm64 + - sh ./get_qemu.sh arm64 - name: build image: plugins/docker diff --git a/get_qemu.sh b/get_qemu.sh index 880669c..6d09feb 100755 --- a/get_qemu.sh +++ b/get_qemu.sh @@ -8,7 +8,7 @@ cd build # Multiple args can be passed in, but in most cases (Makefile and .drone.yml) we only use one at a time for target_arch in $*; do - wget -N https://github.com/multiarch/qemu-user-static/releases/download/$VERSION/${HOST_ARCH}_qemu-${target_arch}-static.tar.gz + wget https://github.com/multiarch/qemu-user-static/releases/download/$VERSION/${HOST_ARCH}_qemu-${target_arch}-static.tar.gz tar -xvf ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz rm ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz done