[med-svn] r2108 - trunk/packages/mgltools
smoe-guest at alioth.debian.org
smoe-guest at alioth.debian.org
Mon Jun 30 00:18:13 UTC 2008
Author: smoe-guest
Date: 2008-06-30 00:18:13 +0000 (Mon, 30 Jun 2008)
New Revision: 2108
Modified:
trunk/packages/mgltools/BUILD
Log:
Having tried the cvs release again and updated bits.
Modified: trunk/packages/mgltools/BUILD
===================================================================
--- trunk/packages/mgltools/BUILD 2008-06-29 15:02:07 UTC (rev 2107)
+++ trunk/packages/mgltools/BUILD 2008-06-30 00:18:13 UTC (rev 2108)
@@ -27,29 +27,45 @@
The sources are made available on mgltools.scripps.edu. When deciding to
download the latest from CVS, then perform as described here. Create a
-new directory, I used "mgltools-cvs" and cd to it.
+new directory, I used "mgltools-cvs" and cd to it:
+ [ -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
+or do what has worked for me the last time around:
+
cvs -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs login
+
+just give an empty password and continue with the download of some sort of a
+metapackage
+
cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co MGLPACKSDIST
Should you find packages to remain missing, then write a report to the
developers and download the missing packages separatedly like this:
- cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co SupportDist
+ #no longer required for 1.5.1 to download separately
+ #cvs -z3 -d:pserver:anonymous at mgl1.scripps.edu:/opt/cvs co SupportDist
Sadly, the names of the directories are invariantly set to a name that
does not appeal too much to us since they all end on "DIST". These should
be renamed.
PREVDIST=DIST
- VERSIONNAME=1.5.0.cvs.`date +"%Y%m%d" | tr -d '\n'`
+ VERSIONNAME=1.5.1.cvs.`date +"%Y%m%d" | tr -d '\n'`
NEWDIST=-$VERSIONNAME
- for i in *$PREVDIST; do b=`echo $i| sed -e "s/$PREVDIST/$NEWDIST/"`; echo renaming $i to $b; mv $i $b; done
+ for i in *$PREVDIST
+ do
+ b=`echo $i| sed -e "s/$PREVDIST/$NEWDIST/"`
+ echo renaming $i to $b; mv $i $b
+ done
To prepare the tar files
for d in *; do
- if [ -d $d ]; then
+ if [ -d "$d" ]; then
tfn=`echo $d | sed -e "s/-$VERSIONNAME/_$VERSIONNAME.orig.tar.gz/" | tr 'A-Z' 'a-z'`
echo taring $d to $tfn
GZIP=-9 tar --exclude CVS -czvf $tfn $d
@@ -64,7 +80,7 @@
found. The file .svn/deb-layout may be used to specify that location
with the origDir variable. Alternatively, one can
- [ -d ../tarballs ] && mkdir ../tarballs
+ [ -d ../tarballs ] || mkdir ../tarballs
ln *.tar.gz ../tarballs
Now, to have these tarballs found, the version in the 'debian/changelog'
More information about the debian-med-commit
mailing list