[m-rev.] trivial diff: fix potential installation bug

Simon Taylor stayl at cs.mu.OZ.AU
Mon Jan 27 00:07:58 AEDT 2003


Estimated hours taken: 0.1
Branches: main

Mmakefile:
	Make sure $(INSTALL_RECONF_DIR) is created before attempting
	to copy anything to it.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmakefile,v
retrieving revision 1.95
diff -u -u -r1.95 Mmakefile
--- Mmakefile	24 Jan 2003 07:17:04 -0000	1.95
+++ Mmakefile	25 Jan 2003 15:37:42 -0000
@@ -412,6 +412,7 @@
 
 .PHONY: install_config
 install_config:
+	[ -d $(INSTALL_RECONF_DIR) ] || mkdir -p $(INSTALL_RECONF_DIR)
 	cp VERSION aclocal.m4 configure configure.in config.guess \
 		config.sub install-sh $(INSTALL_RECONF_DIR)
 
--------------------------------------------------------------------------
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