summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-12 18:17:09 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-12 18:17:09 +0200
commit7c18e21d2241b8f3a12cad858405ce533f5f200d (patch)
treed02d0d33869867672217959c5c99a67c6f09ec88 /bin
parentd9265663a79b856f21b673a9c640d7d7b6e93d76 (diff)
downloadjenkins.debian.net-7c18e21d2241b8f3a12cad858405ce533f5f200d.tar.xz
reproducible: keep pkg-set if the diff is too big (for further investigation)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 0f5c6478..f9ed0c91 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -63,7 +63,9 @@ update_if_similar() {
diff $TARGET $TARGET.new || true
echo
echo "Warning: too much difference for $TARGET, aborting. Please investigate and update manually."
- rm $TARGET.new
+ KEEP=$(mktemp)
+ mv $TARGET.new $KEEP
+ echo "The new pkg-set has been saved as $KEEP for further investigation."
else
update_target
fi