From 9cedeae29555df4079c65ebe1de2522261073cfc Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 19 Apr 2015 16:14:33 +0200 Subject: 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 c266ac77..642d557a 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
#g' > $HEADER + echo "

" > $HEADER + printf "$msg" | sed 's#$#
#g' >> $HEADER echo "Package page: $REPRODUCIBLE_URL/${SUITE}/${ARCH}/${SRCPACKAGE}
" >> $HEADER + echo "

" >> $HEADER4 chmod 644 $HEADER echo | tee -a ${RBUILDLOG} # irc message -- cgit v1.2.3-70-g09d2