From 7c18e21d2241b8f3a12cad858405ce533f5f200d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 12 May 2015 18:17:09 +0200 Subject: reproducible: keep pkg-set if the diff is too big (for further investigation) --- bin/reproducible_create_meta_pkg_sets.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2