summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_archlinux_pkg.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-11-21 20:30:12 +0000
committerHolger Levsen <holger@layer-acht.org>2017-11-21 20:30:12 +0000
commit96fd9fcd09a28782ccd4b6ec3733b3a9a3b5dcbb (patch)
tree09e2fe730bb2be6597570c86984d9ef1391bd9f0 /bin/reproducible_build_archlinux_pkg.sh
parent026431ca89f8b0bbfbfe579e3815b1bcf930efd0 (diff)
downloadjenkins.debian.net-96fd9fcd09a28782ccd4b6ec3733b3a9a3b5dcbb.tar.xz
reproducible Arch Linux: fix filepath and improve HTML
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build_archlinux_pkg.sh')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 5a35c757..89ca4e98 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -333,8 +333,9 @@ if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz 2>/dev/null|| true)" ] ; the
if diff -q $TMPDIR/b1/$SRCPACKAGE/$ARTIFACT $TMPDIR/b2/$SRCPACKAGE/$ARTIFACT ; then
echo "$(date -u) - YAY - $SRCPACKAGE/$ARTIFACT build reproducible in our test framework!"
mkdir -p $BASE/archlinux/$REPOSITORY/$SRCPACKAGE
- echo "$SRCPACKAGE/$ARTIFACT build reproducible in our test framework:" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html
+ echo "<html><body><p>$SRCPACKAGE/$ARTIFACT build reproducible in our test framework:<br />" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html
(cd $TMPDIR/b1/ ; sha256sum $SRCPACKAGE/$ARTIFACT >> $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html )
+ echo "</p></body>" > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html
else
# run diffoscope on the results
TIMEOUT="30m"