summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-04-03 22:07:41 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-03 22:07:41 +0200
commita60a4108afdfd4f770faccbcd07ced71fec7bd1d (patch)
tree76292b68c9b8419a246e81dd682df2963cdcb96b /bin
parent0ee0169ef19a9e0f26db63837acc2d5a6e1e7c7e (diff)
downloadjenkins.debian.net-a60a4108afdfd4f770faccbcd07ced71fec7bd1d.tar.xz
reproducible: fix 301 http error code for artifact pages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 50f6469c..c70726f6 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -33,7 +33,7 @@ cleanup_all() {
echo "Artifacts from this build are preserved. They will be available for 72h only, so download them now if you want them." | tee -a ${RBUILDLOG}
echo "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." | tee -a ${RBUILDLOG}
echo "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:" | tee -a ${RBUILDLOG}
- URL="https://reproducible.debian.net/$ARTIFACTS"
+ URL="https://reproducible.debian.net/$ARTIFACTS/"
TMPFILE=$(mktemp)
curl $URL > $TMPFILE 2>/dev/null
sed -i "s#</h1>#</h1><a href=\"$REPRODUCIBLE_URL/${SUITE}/${ARCH}/${SRCPACKAGE}\">$REPRODUCIBLE_URL/${SUITE}/${ARCH}/${SRCPACKAGE}</a>#g" $TMPFILE