[m-rev.] diff: fix mmc_make test failure

Simon Taylor stayl at cs.mu.OZ.AU
Fri Jan 24 12:26:51 AEDT 2003



Estimated hours taken: 0.1
Branches: main, release

compiler/make.program_target.m:
	Strip out the `.picreg' component of the grade
	when working out where to install files.

Index: make.program_target.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/make.program_target.m,v
retrieving revision 1.17
diff -u -u -r1.17 make.program_target.m
--- make.program_target.m	23 Jan 2003 00:24:05 -0000	1.17
+++ make.program_target.m	24 Jan 2003 00:12:44 -0000
@@ -550,7 +550,7 @@
 		IntsSucceeded, Info1, Info2),
 
 	globals__io_get_globals(Globals),
-	{ compute_grade(Globals, Grade) },
+	{ grade_directory_component(Globals, Grade) },
         install_library_grade_files(LinkSucceeded, Grade, MainModuleName,
 		AllModules, GradeSucceeded, Info2, Info3),
 	(
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list