diff: install ROTD to web directory.

Tyson Dowd trd at cs.mu.OZ.AU
Wed Sep 23 15:07:23 AEST 1998


Hi,

This change needs to be looked over carefully because it falls
into the "difficult to test" category.

===================================================================


Estimated hours taken: 0.5

test_mercury:
	Install ROTDs to the www directory as well as the ftp site.


Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.79
diff -u -r1.79 test_mercury
--- test_mercury	1998/09/18 04:04:14	1.79
+++ test_mercury	1998/09/23 03:28:35
@@ -443,11 +443,15 @@
 : update the unstable release
 
 BETA_FTPDIR=/home/tsa/ftp/pub/mercury/beta-releases
+BETA_WEBDIR=/local/dept/w3/unsupported/docs/mercury/download/files/beta-releases
 
 case $HOST in murlibobo)
 	rm -f $BETA_FTPDIR/mercury-*-rotd-*-unstable.tar.gz &&
 	cp mercury-latest-unstable/mercury-*-$version-unstable.tar.gz \
-		$BETA_FTPDIR
+		$BETA_FTPDIR 
+	rm -f $BETA_WEBDIR/mercury-*-rotd-*-unstable.tar.gz &&
+	cp mercury-latest-unstable/mercury-*-$version-unstable.tar.gz \
+		$BETA_WEBDIR
 	;;
 esac
 
@@ -480,7 +484,16 @@
 	    ln $BETA_FTPDIR/mercury-extras-$version-unstable.tar.gz \
 	        $BETA_FTPDIR/mercury-extras-$version.tar.gz &&
 	    ln $BETA_FTPDIR/mercury-tests-$version-unstable.tar.gz \
-	        $BETA_FTPDIR/mercury-tests-$version.tar.gz 
+	        $BETA_FTPDIR/mercury-tests-$version.tar.gz &&
+
+		# Only delete the stable rotds.
+	    rm -f $BETA_WEBDIR/mercury-*-rotd-*[0-9].tar.gz &&
+	    ln $BETA_WEBDIR/mercury-compiler-$version-unstable.tar.gz \
+	        $BETA_WEBDIR/mercury-compiler-$version.tar.gz &&
+	    ln $BETA_WEBDIR/mercury-extras-$version-unstable.tar.gz \
+	        $BETA_WEBDIR/mercury-extras-$version.tar.gz &&
+	    ln $BETA_WEBDIR/mercury-tests-$version-unstable.tar.gz \
+	        $BETA_WEBDIR/mercury-tests-$version.tar.gz 
 	    ;;
 	esac
 	echo "test_mercury exiting successfully at `date`" 1>&2


-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list