trivial diff: tools/test_mercury bug fix

Fergus Henderson fjh at cs.mu.OZ.AU
Thu May 28 01:05:56 AEST 1998


tools/test_mercury:
	When installing in the stage2 directory, make sure that
	we use the stage1 compiler to do the install.

Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.70
diff -u -u -r1.70 test_mercury
--- test_mercury	1998/05/25 21:53:43	1.70
+++ test_mercury	1998/05/27 15:03:54
@@ -214,6 +214,9 @@
 case $status in 0)
     case $install_anyway in
         false)	cd mercury/stage2 || { false; exit 1; } ;;
+		# we need to use the stage1 compiler to do the install
+		MERCURY_COMPILER=$DIR/mercury/compiler/mercury_compile
+		export MERCURY_COMPILER
         true)	cd mercury || { false; exit 1; } ;;
     esac
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list