- Timestamp:
- 07/02/13 10:33:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install_osx.sh
r2661 r2817 1 1 #!/bin/sh 2 2 3 MPLTMP=/tmp/mpltmp 3 4 FTPURL="ftp://ftp.atnf.csiro.au/pub/software/asap" 5 6 trap 'rm -rf /tmp/mpltmp' EXIT 4 7 5 8 #test -n $1 && export http_proxy=$1 … … 13 16 echo $OSXVERS 14 17 if [ -z ${OSXVERS} ]; then echo "Only OS X >= 10.7 supported"; exit 1; fi 15 ASAPEGG="${FTPURL}/${ASAPVERS}/asap-4.1.0-py2.7-macosx-${OSXVERS}-intel.egg" 18 if [ "$OSXVERS" == '10.8' ] 19 then 20 ASAPEGG="${FTPURL}/${ASAPVERS}/asap-4.1.2-py2.7-macosx-${OSXVERS}-intel.egg" 21 else 22 ASAPEGG="${FTPURL}/${ASAPVERS}/asap-4.1.0-py2.7-macosx-${OSXVERS}-intel.egg" 23 fi 16 24 MPLEGG="${FTPURL}/matplotlib/matplotlib-1.1.1-py2.7-macosx-${OSXVERS}-intel.egg" 17 25 MPL=$(/usr/bin/python -c 'import matplotlib' >/dev/null 2>&1) … … 30 38 31 39 # update measures data 32 MPLTMP=/tmp/mpltmp33 40 mkdir ${MPLTMP} 34 MPLCONFIGDIR="${MPLTMP}" /usr/local/bin/asap_update_data35 rm -rf ${MPLTMP} 41 MPLCONFIGDIR="${MPLTMP}" 42 /usr/local/bin/asap_update_data
Note:
See TracChangeset
for help on using the changeset viewer.