[m-rev.] trivial diff: test_mercury: more of same

Fergus Henderson fjh at traveller.cs.mu.oz.au
Mon Oct 7 05:44:03 AEST 2002


Estimated hours taken: 0.25
Branches: main

tools/run_all_tests_from_cron:
	Create some more directories automatically if they don't exist already.

Workspace: /c/fjh/ws/1
Index: tools/run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.55
diff -u -d -r1.55 run_all_tests_from_cron
--- tools/run_all_tests_from_cron	6 Oct 2002 19:24:40 -0000	1.55
+++ tools/run_all_tests_from_cron	6 Oct 2002 19:44:59 -0000
@@ -59,7 +59,8 @@
 {
 tm_dir=$TOPDIR/test_mercury
 
-cd $TOPDIR/test_mercury/scripts;
+[ -d $TOPDIR/test_mercury/scripts ] || mkdir -p $TOPDIR/test_mercury/scripts
+cd $TOPDIR/test_mercury/scripts
 cvs checkout mercury/tools/test_mercury
 cp mercury/tools/test_mercury $tmpscript
 
--------------------------------------------------------------------------
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