https://github.com/joezuntz/pycamb
Tip revision: 87eb6c74be40784d6a0d3a1c323c1a66f7bb7a8e authored by joezuntz on 09 December 2015, 13:29:59 UTC
Update README
Update README
Tip revision: 87eb6c7
extract_camb.sh
#! /bin/sh
if [ "x$1" == x ]; then
FILE=CAMB.tar.gz
else
FILE=$1
fi
if [ ! -f $FILE ]; then
echo "Please visit the CAMB website (opening now, hopefully)"
echo "to register for and download CAMB into this directory."
python -c 'import webbrowser;webbrowser.open("http://camb.info/CAMBsubmit.html")'
exit 1
fi
tar -xzvf $FILE
trap "rm -rf tmp" EXIT