comparison INSTALL.sh @ 64:503d38bdee90

use virtualenv from the net if its not available locally
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 09:49:08 -0800
parents 04e41ee436c3
children 288397616e5f
comparison
equal deleted inserted replaced
63:04e41ee436c3 64:503d38bdee90
8 if [ "$#" != "0" ] 8 if [ "$#" != "0" ]
9 then 9 then
10 DEST=$1 10 DEST=$1
11 fi 11 fi
12 12
13 virtualenv ${DEST} 13 if which virtualenv
14 then
15 virtualenv ${DEST}
16 else
17 curl https://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py | python - ${DEST}
18 fi
14 cd autobot 19 cd autobot
15 . bin/activate # linux only 20 . bin/activate # linux only
16 mkdir src 21 mkdir src
17 cd src 22 cd src
18 hg clone ${REPO} 23 hg clone ${REPO}