--- trunk/mage/make-tarball.sh 2007/09/02 00:17:06 551 +++ trunk/mage/make-tarball.sh 2008/01/01 16:42:14 647 @@ -4,14 +4,14 @@ cvs_module="magellan-src/mage" rev_keyword="mage" tarball_prefix="mage" -destination="root@magellan-linux.de:/var/www/magellan/magellan-dev/sources/mage/" +destination="root@cvs.magellan-linux.de:/var/www/htdocs/magellan/magellan-dev/sources/mage/" latest_revision=$(cvs status -v make-tarball.sh | grep -A1 "Existing Tags:" | sed -e 's/Existing Tags://' -e 's/ //g' -e '/^$/d' | /bin/awk '{ print $1; exit; }') latest_version=$(echo ${latest_revision} | sed -e "s:${rev_keyword}-::" -e 's:_:.:g') echo -n "building tarball for ${latest_version}... " cd ${temp} -cvs -z3 -d :pserver:anonymous:@magellan-linux.de:/magellan-cvs checkout -P -r ${latest_revision} ${cvs_module} +cvs -z3 -d :pserver:anonymous:@cvs.magellan-linux.de:/magellan-cvs checkout -P -r ${latest_revision} ${cvs_module} mv ${temp}/${cvs_module} ${tarball_prefix}-${latest_version} rm ./${tarball_prefix}-${latest_version}/make-tarball.sh find ./${tarball_prefix}-${latest_version} -name CVS | xargs rm -r