trivial diff: tools/test_mercury bug fix

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Nov 11 13:23:20 AEDT 1998


tools/test_mercury:
	Fix a couple of bugs with the code for automatically building
	binary distributions.

Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.82
diff -u -r1.82 test_mercury
--- test_mercury	1998/11/07 14:35:53	1.82
+++ test_mercury	1998/11/11 02:20:18
@@ -475,7 +475,8 @@
     	mmake bindist &&
 	cd .. &&
 	( [ -d $STABLE ] || mkdir $STABLE ) &&
-	mv mercury-$version*.tar.gz $STABLE
+	rm -f $STABLE/* &&
+	mv mercury/mercury-$version.*.tar.gz $STABLE
        } || status=1
     ;;
 esac
@@ -491,7 +492,6 @@
 	date >> $TESTDIR/logs/successful_tests.$HOST
 	case $HOST in murlibobo)
 	    cd $DIR &&
-	    rm -f $STABLE/* &&
 	    ln $UNSTABLE/mercury-compiler-$version-unstable.tar.gz \
 	        $STABLE/mercury-compiler-$version.tar.gz &&
 	    ln $UNSTABLE/mercury-extras-$version-unstable.tar.gz \

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list