#! /bin/bash
#
# Script to retrieve the latest tarball of MRBUMP from ehtpx-pc2
# Ronan Keegan 13/12/05

if test $# -ne 1
then
   echo "Usage: get_tarball.sh <version>"
   exit
fi

# Assign the version number
ver=$1

# Write the version number to a file to allow for update checking
echo $ver > version.txt

# Pull down the version of the code from ehtpx-pc2 
#scp ehtpx-pc2:/home/rmk65/projects/CVS/xia/XIA-MR/mrbump/mrbump-${ver}.tar.gz . 
wget http://ehtpx-pc2.dl.ac.uk/mrbump-${ver}.tar.gz

exit

