From d47fb5aa53e92957244c8045f64b450214340c89 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 5 Sep 2016 22:39:43 +0100 Subject: [PATCH] dgit: Make maybe_unapply_patches_again reset $patches_applied_dirtily That makes it idempotent. Signed-off-by: Ian Jackson --- dgit | 1 + 1 file changed, 1 insertion(+) diff --git a/dgit b/dgit index c105aea3..7ccaec42 100755 --- a/dgit +++ b/dgit @@ -3884,6 +3884,7 @@ sub maybe_unapply_patches_again () { if $patches_applied_dirtily & 01; rmtree '.pc' if $patches_applied_dirtily & 02; + $patches_applied_dirtily = 0; } #----- other building ----- -- 2.30.2