trivial diff: tools/test_mercury: fix $PATH

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 17 07:43:25 AEDT 1998


tools/test_mercury:
	Insert $INSTALL_DIR/bin at the front of the path, so that
	it tests the same compiler it installed, rather than
	testing the one in mercury-latest (this makes a difference
	if you override INSTALL_DIR to install somewhere other than
	in mercury-latest, e.g. in a mercury-0.8 directory).
	Also replace the obsolete 0.5 & 0.6 entries in the path list
	with 0.8.

Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.86
diff -u -r1.86 test_mercury
--- test_mercury	1998/11/16 09:31:54	1.86
+++ test_mercury	1998/11/16 20:42:03
@@ -16,8 +16,7 @@
 esac
 
 PATH="$HOME/bin/$ARCH`awk '/^[^#]/{printf ":%s",$0;}' /home/pgrad/fjh/.path`"
-PATH="/home/mercury/public/mercury-0.5/$FULLARCH/bin:$PATH"
-PATH="/home/mercury/public/mercury-0.6/$FULLARCH/bin:$PATH"
+PATH="/home/mercury/public/mercury-0.8/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/mercury-latest/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/nuprolog/$FULLARCH/bin:$PATH"
 PATH="/home/mercury/public/gcc-2.7.2/$FULLARCH/bin:$PATH"
@@ -83,6 +82,8 @@
 		INSTALL_DIR=/home/mercury/public/.a
 		;;
 esac
+
+PATH="$INSTALL_DIR/bin:$PATH"
 
 # $PARALLEL: flag to pass to GNU make for parallel make
 PARALLEL=

-- 
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