Diff of /trunk/Mac/make-opensim.sh
Parent Directory
|
Revision Log
|
Patch
| revision 12, Fri Aug 21 02:34:00 2009 UTC | revision 13, Fri Aug 21 02:34:27 2009 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | #!/bin/sh | #!/bin/bash |
| 2 | ||
| 3 | VERSION=branches/0.6.6-post-fixes | set -o errexit |
| 4 | ||
| 5 | VERSION=0.6.6-release | |
| 6 | ||
| NAME=`basename $0` | ||
| 7 | CURDIR=`pwd` | CURDIR=`pwd` |
| 8 | TEMPDIR=${CURDIR}/OpenSim-build | TEMPDIR=${CURDIR}/OpenSim-build |
| 9 | ||
| 10 | rm -rf OpenSim ${TEMPDIR} | rm -rf OpenSim ${TEMPDIR} |
| 11 | mkdir -p OpenSim ${TEMPDIR} | mkdir -p OpenSim |
| 12 | ||
| 13 | # get source and build | # get source and build |
| 14 | svn co http://opensimulator.org/svn/opensim/${VERSION} ${TEMPDIR} | git clone git://opensimulator.org/git/opensim ${TEMPDIR} |
| 15 | cd ${TEMPDIR} || exit 1 | cd ${TEMPDIR} |
| 16 | ./runprebuild.sh && nant | git checkout ${VERSION} |
| 17 | if [ $? != 0 ]; then | ./runprebuild.sh |
| 18 | rm -rf ${TEMPDIR} | nant |
| exit 1 | ||
| fi | ||
| find bin -iname '\.svn' | xargs rm -rf | ||
| 19 | cd ${CURDIR} | cd ${CURDIR} |
| 20 | ||
| 21 | # copy binaries to installer directory | # copy binaries to installer directory |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

