This commit is contained in:
Mathieu Virbel 2012-02-22 18:21:47 +01:00
parent fcdfa195b2
commit c38d0b6b51
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/bash
. ./environment.sh
@ -7,7 +7,7 @@
# http://latenitesoft.blogspot.com/2008/10/iphone-programming-tips-building-unix.html
# download python and patch if they aren't there
if [[ ! -a $CACHEROOT/Python-$PYTHON_VERSION.tar.bz2 ]]; then
if [ ! -a $CACHEROOT/Python-$PYTHON_VERSION.tar.bz2 ]; then
curl http://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.bz2 > $CACHEROOT/Python-$PYTHON_VERSION.tar.bz2
fi

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -x
try () {
"$@" || exit -1
}