summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-12 19:29:04 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-12 19:29:04 +0100
commitb859333ade7ffa522259f9e1e8820a5e79c2db09 (patch)
tree5fae5825387761721664b6c84698a86bc694519a /bin
parent45cff9d2bf6351283e7cddbb5848eec034731523 (diff)
downloadjenkins.debian.net-b859333ade7ffa522259f9e1e8820a5e79c2db09.tar.xz
reproducible: fix syntax to make apt ignore future validation errors
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_pbuilder.sh2
-rwxr-xr-xbin/schroot-create.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index 4fdee352..753d7fae 100755
--- a/bin/reproducible_setup_pbuilder.sh
+++ b/bin/reproducible_setup_pbuilder.sh
@@ -68,7 +68,7 @@ echo
for i in \$(dpkg -l |grep ^ii |awk -F' ' '{print \$2}'); do apt-cache madison "\$i" | head -1 | grep reproducible.alioth.debian.org || true ; done
echo
echo "Configuring APT to ignore the Release file expiration"
-echo 'Acquire::Check-Valid-Until "false"' > /etc/apt/apt.conf.d/398future
+echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future
echo
EOF
}
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 8637fa6e..4f572f2f 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -93,7 +93,7 @@ Mb0BawlXZui0MNUSnZtxHMxrjejdvZdqtskHl9srB1QThH0jasmUqbQPxCnxMbf1
-----END PGP PUBLIC KEY BLOCK-----" | apt-key add -
echo
echo "Configuring APT to ignore the Release file expiration"
-echo 'Acquire::Check-Valid-Until "false"' > /etc/apt/apt.conf.d/398future
+echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future
echo
EOF
}