summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-04-03 16:27:54 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-03 16:27:54 +0200
commit6abc1c049b2153f35a117ae77f4964bf8c2f2e76 (patch)
tree9d58eaa9f0a8b84e15f7b00a6b132d6a21f19c7f /bin
parent8e4e3d74f2133dd8cf48d88879a20205566a0f72 (diff)
downloadjenkins.debian.net-6abc1c049b2153f35a117ae77f4964bf8c2f2e76.tar.xz
Revert "reproducible debian: fail the job if stamp file is from the future"
This reverts commit 8e4e3d74f2133dd8cf48d88879a20205566a0f72.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_pbuilder.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index 55f2f3d9..5065d03f 100755
--- a/bin/reproducible_setup_pbuilder.sh
+++ b/bin/reproducible_setup_pbuilder.sh
@@ -126,13 +126,6 @@ setup_pbuilder() {
BASETGZ=/var/cache/pbuilder/$SUITE-reproducible-base.tgz
STAMP=/var/log/jenkins/$SUITE-reproducible-base.tgz.stamp
OLDSTAMP=$(find $STAMP -mtime +1 -exec ls -lad {} \; || echo "nostamp")
-NOW=$(mktemp)
-if [ $STAMP -nt $NOW ] ; then
- echo "$STAMP file was created in the future, please investigate..."
- rm $NOW > /dev/null
- exit 1
-fi
-rm $NOW > /dev/null
if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then
if [ ! -f $BASETGZ ] ; then
echo "No $BASETGZ exists, creating a new one..."