[m-rev.] trivial diff: fix portability problem in run_all_tests_from_cron
Simon Taylor
stayl at cs.mu.OZ.AU
Mon Aug 27 22:04:17 AEST 2001
Estimated hours taken: 0.1
tools/run_all_tests_from_cron:
taifun's `echo' doesn't have a `-n' option.
Index: run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.38
diff -u -u -r1.38 run_all_tests_from_cron
--- run_all_tests_from_cron 2001/08/26 07:29:11 1.38
+++ run_all_tests_from_cron 2001/08/27 12:01:44
@@ -175,7 +175,7 @@
# We can't just set a variable containing the mail subject string
# because sh (but not bash) executes compound commands with redirection
# in a sub-shell.
-echo -n "test_mercury $test_status: $BRANCH $HOST $C_COMPILER" > $mail_subject
+echo "test_mercury $test_status: $BRANCH $HOST $C_COMPILER" > $mail_subject
} > $tmpfile 2>&1
# NB we can't just pipe into `mutt' because the $mail_subject file
--------------------------------------------------------------------------
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