summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_setup.sh')
-rwxr-xr-xbin/reproducible_setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 3cd89485..ad0e6cd2 100755
--- a/bin/reproducible_setup.sh
+++ b/bin/reproducible_setup.sh
@@ -14,7 +14,7 @@ echo "Warning: Usage of --force-yes to override the apt authentication warning.
apt-get install --force-yes -y dpkg dpkg-dev debhelper dh-python discount
EOF
-sudo rm /var/cache/pbuilder/base-reproducible.tgz
+sudo rm /var/cache/pbuilder/base-reproducible.tgz || true
sudo pbuilder --create --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid
-sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz --
+sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz -- $TMPFILE
rm $TMPFILE