From f0599eec2a9ca6691de636c89a339572d38250d4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 29 Jul 2018 05:31:37 +0100 Subject: dgit build: Warn if --build-products-dir is not `..'. Closes:#904859. Signed-off-by: Ian Jackson --- debian/changelog | 1 + dgit | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8294191..0155fa9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ dgit (6.2~) unstable; urgency=medium * dgit(1): Improve and correct --build-products-dir description. * dgit: Minor code cleanup. + * dgit build: Warn if --build-products-dir is not `..'. Closes:#904859. * test suite: Test dgit import-dsc --build-products-dir. -- diff --git a/dgit b/dgit index 6312671..4e43d21 100755 --- a/dgit +++ b/dgit @@ -6294,6 +6294,10 @@ sub postbuild_mergechanges_vanilla ($) { sub cmd_build { build_prep_early(); + $buildproductsdir eq '..' or print STDERR <