diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-16 21:00:35 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-16 21:00:35 -0400 |
commit | 05d40826d4f5657ab9cedb2a6e6b0513eec13185 (patch) | |
tree | 42903648887f02b42df3ad0ca45d95b360e6fe19 | |
parent | 9b2a1257150ef97a3ee7f29fd3f9e1d87a4a948e (diff) | |
download | calfuse-05d40826d4f5657ab9cedb2a6e6b0513eec13185.tar.gz |
-rwxr-xr-x | contrib/download_data | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/download_data b/contrib/download_data index 0aafaf4..17989e3 100755 --- a/contrib/download_data +++ b/contrib/download_data @@ -18,6 +18,12 @@ if [ -f "$tarball" ]; then exit 1 fi -wget $url +wget --no-check-certificate $url + +if [ $? -ne 0 ]; then + echo Aborting. Failed to download $tarball. + exit 1 +fi + echo Extracting $tarball ... tar -xf $tarball |