[m-rev.] diff: avoid spurious error message in configure.in

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Jun 12 22:08:11 AEST 2003


configure.in:
	Avoid a spurious error message when there are no existing .c files
	to remove

Index: configure.in
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/configure.in,v
retrieving revision 1.368
diff -u -b -r1.368 configure.in
--- configure.in	6 Jun 2003 10:24:44 -0000	1.368
+++ configure.in	12 Jun 2003 12:04:36 -0000
@@ -2313,7 +2313,8 @@
 	compiler and library will be rebuilt with new grade
 	installation may take a long time")
 		find library compiler browser analysis profiler deep_profiler \
-			-name \*.c -o -name \*.c_date | xargs rm
+			-name \*.c -o -name \*.c_date | \
+			xargs rm > /dev/null 2>&1
 	fi
 else
 	GRADE=$BEST_GRADE_FOR_COMPILER
--------------------------------------------------------------------------
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