Author: smoe-guest Date: 2009-05-28 20:49:53 +0000 (Thu, 28 May 2009) New Revision: 3443
Modified: trunk/packages/mgltools/BUILD Log: Updates. Modified: trunk/packages/mgltools/BUILD =================================================================== --- trunk/packages/mgltools/BUILD 2009-05-27 23:43:30 UTC (rev 3442) +++ trunk/packages/mgltools/BUILD 2009-05-28 20:49:53 UTC (rev 3443) @@ -32,8 +32,8 @@ have not previously performed the checkout, then create a new directory (I used "mgltools-cvs") and cd to it: - [ -d mgltools ] || mkdir mgltools-cvs - cd mgltools-cvs + [ -d mgltools ] || mkdir mgltools-cvs + cd mgltools-cvs Follow the regularly updated instructions on MGLtools CVS downloads on http://mgltools.scripps.edu/downloads/nightly/documentation/how-to/access-to-cvs @@ -45,14 +45,13 @@ metapackage ... if you have not perform this checkout before in this folder: # perform only if previous checkouts are no longer available. - cvs -z3 -d:pserver:[email protected]:/opt/cvs co MGLPACKSDIST + cvs -z3 -d:pserver:[email protected]:/opt/cvs co MGLPACKSDIST To checkout from 1.5.4 release branch, for instance, run the following command instead: - # this checkouts rc-1-5-4 branch instead of the default head revision - cvs -z3 -d:pserver:[email protected]:/opt/cvs co -r rc-1-5-4 MGLPACKSDIST + # this checkouts rc-1-5-4 branch instead of the default head revision + cvs -z3 -d:pserver:[email protected]:/opt/cvs co -r rc-1-5-4 MGLPACKSDIST - Otherwise, if you have an older version checked out already, just change to all of the directories and run the "cvs -z3 update". However, it was found out this to leave out some newly created @@ -75,6 +74,7 @@ # Chose the previous version instead of 'DIST' # if the folder contains previously downloaded # directories. + if [ -d mgltools-cvs ]; then cd mgltools-cvs; fi PREVDIST=DIST VERSIONNAME=1.5.4.cvs.`date +"%Y%m%d" | tr -d '\n'` NEWDIST=-$VERSIONNAME @@ -116,7 +116,13 @@ files need to match. From debian-med/trunk/packages/mgltools execute the following lines to add the new version to the changelogs - if [ ! -d tarballs ]; then cd ..; fi + if [ ! -d tarballs ]; then + if [ -d ../tarballs ]; then + cd ..; + else + echo "Expected folder 'tarballs' in current directory." + fi + fi if [ -z "$VERSIONNAME" ]; then echo "Please specify the new version first." else @@ -167,8 +173,8 @@ (cd $p/trunk && \ svn-buildpackage -us -uc -rfakeroot --svn-ignore && \ sudo dpkg -i ../../build-area/mgltools-${p}_${VERSIONNAME}*.deb) - done - (cd autodocktools/trunk && \ + done \ + && (cd autodocktools/trunk && \ svn-buildpackage -us -uc -rfakeroot --svn-ignore && \ sudo dpkg -i ../../build-area/autodocktools_${VERSIONNAME}*.deb) _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
