#!/bin/sh
svn checkout https://svn.code.sf.net/p/xia2/code/trunk/xia2
cd xia2
echo "#!/bin/bash" > ../xia2.sh
echo "export XIA2_ROOT=`pwd`" >> ../xia2.sh
echo ". \${XIA2_ROOT}/setup.sh" >> ../xia2.sh
just copy this to a file of your choice (say install-xia2.sh) and then run bash install-xia2.sh where you want xia2 to be installed. Sourcing xia2.sh (which is auto generated) will then set up xia2.
No comments:
Post a Comment