Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (20 sloc) 0.507 kb
#/bin/bash
urls="http://www.mcs.anl.gov/~bresnaha/cumulus/cumulus-deps.tar.gz http://github.com/downloads/nimbusproject/nimbus/cumulus-deps.tar.gz"
if [ -f cumulus-deps.tar.gz ]; then
exit 0
fi
for url in $urls
do
echo "trying to get from $url"
wget --no-check-certificate $url
if [ $? -ne 0 ]; then
echo "wget failed"
fi
tar -C ../ -zxvf cumulus-deps.tar.gz
if [ $? -ne 0 ]; then
echo "untar failed"
rm cumulus-deps.tar.gz
fi
exit 0
done
exit 1
Jump to Line
Something went wrong with that request. Please try again.