]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Nightly build: Rename the attachment diffs into diffs.txt such that it can be viewed...
authorBart Van Assche <bvanassche@acm.org>
Sat, 30 Jul 2011 11:26:57 +0000 (11:26 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 30 Jul 2011 11:26:57 +0000 (11:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11952

nightly/bin/nightly

index fdfe02eaebb1248ec28f92dd55abd59e609240c9..fffe79db3f9bcc25307295c10b9d02efb06844b8 100755 (executable)
@@ -88,7 +88,7 @@ svn_new_date=`date $svn_date_format`
 cd $DIR
 
 # Clean up output files produced by a previous run.
-rm -rf diffs diff.short final new.short new.verbose old.short old.verbose
+rm -rf diffs diffs.txt diff.short final new.short new.verbose old.short old.verbose
 rm -rf sendmail.log unchanged.log valgrind-old valgrind-new
 
 # Setup any relevant environment variables from conf/<tag>.conf.
@@ -230,8 +230,12 @@ else
    done
 fi
 
+# Rename diffs into diffs.txt such that it can be viewed easily with an
+# e-mail client.
+mv diffs diffs.txt
+
 # Use the conf/<tag>.sendmail script to email the results.
 conf/$TAG.sendmail \
    "$changed_str$START nightly build ($TAG, $ABT_DETAILS)" \
    final \
-   diffs > sendmail.log 2>&1
+   diffs.txt > sendmail.log 2>&1