summaryrefslogtreecommitdiff
path: root/libc/ci/linux-s390x.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/linux-s390x.sh')
-rw-r--r--libc/ci/linux-s390x.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/ci/linux-s390x.sh b/libc/ci/linux-s390x.sh
index 972abee..a230cfe 100644
--- a/libc/ci/linux-s390x.sh
+++ b/libc/ci/linux-s390x.sh
@@ -1,11 +1,13 @@
+#!/usr/bin/env sh
+
set -ex
mkdir -m 777 /qemu
cd /qemu
-curl -LO https://github.com/qemu/qemu/raw/master/pc-bios/s390-ccw.img
-curl -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20170828/images/generic/kernel.debian
-curl -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20170828/images/generic/initrd.debian
+curl --retry 5 -LO https://github.com/qemu/qemu/raw/master/pc-bios/s390-ccw.img
+curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20170828/images/generic/kernel.debian
+curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20170828/images/generic/initrd.debian
mv kernel.debian kernel
mv initrd.debian initrd.gz