[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: build: fix sed for the generation of the artifacts page header

Holger Levsen holger at moszumanska.debian.org
Mon Apr 20 10:43:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9cedeae29555df4079c65ebe1de2522261073cfc
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sun Apr 19 16:14:33 2015 +0200

    reproducible: build: fix sed for the generation of the artifacts page header
---
 bin/reproducible_build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c266ac7..642d557 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -72,8 +72,10 @@ save_artifacts() {
 		local msg="${msg}WARNING: You shouldn't trust packages you downloaded from this host, they can contain malware or the worst of your fears, packaged nicely in debian format.\n"
 		local msg="${msg}If you are not afraid facing your fears while helping the world by investigating reproducible build issues, you can download the artifacts from the following location: $URL\n"
 		printf "$msg" | tee -a $BUILDLOG
-		echo "$msg" | sed 's#\n#\n<br />#g' > $HEADER
+		echo "<p>" > $HEADER
+		printf "$msg" | sed 's#$#<br />#g' >> $HEADER
 		echo "Package page: <a href=\"$REPRODUCIBLE_URL/${SUITE}/${ARCH}/${SRCPACKAGE}\">$REPRODUCIBLE_URL/${SUITE}/${ARCH}/${SRCPACKAGE}</a><br />" >> $HEADER
+		echo "</p>" >> $HEADER4
 		chmod 644 $HEADER
 		echo | tee -a ${RBUILDLOG}
 		# irc message

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list