From 2b49f0a1a06f6707a9a059c4ffedbf647dc25246 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 31 Jan 2017 15:22:07 +0100 Subject: reproducible Debian: don't let the build fail if artifacts cannot be preserved Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index e22141fe..1720f426 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -79,7 +79,7 @@ save_artifacts() { local URL="$DEBIAN_URL/$ARTIFACTS/" local HEADER="$DEBIAN_BASE/$ARTIFACTS/.HEADER.html" mkdir -p $DEBIAN_BASE/$ARTIFACTS - cp -r $TMPDIR/* $DEBIAN_BASE/$ARTIFACTS/ + cp -r $TMPDIR/* $DEBIAN_BASE/$ARTIFACTS/ || true local msg="Artifacts from this build have been preserved. They will be available for 24h only, so download them now.\n" msg="${msg}WARNING: You shouldn't trust packages downloaded from this host, they can contain malware or the worst of your fears, packaged nicely in debian format.\n" msg="${msg}If you are aware of this and just want to use these artifacts to investigate why $DIFFOSCOPE had issues, you can download the artifacts from the following location: $URL\n" -- cgit v1.2.3-54-g00ecf