From: Ian Jackson Date: Sun, 29 Jul 2018 04:31:37 +0000 (+0100) Subject: dgit build: Warn if --build-products-dir is not `..'. X-Git-Tag: archive/debian/6.2~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f0599eec2a9ca6691de636c89a339572d38250d4;p=dgit.git dgit build: Warn if --build-products-dir is not `..'. Closes:#904859. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 82941916..0155fa92 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 63126712..4e43d21d 100755 --- a/dgit +++ b/dgit @@ -6294,6 +6294,10 @@ sub postbuild_mergechanges_vanilla ($) { sub cmd_build { build_prep_early(); + $buildproductsdir eq '..' or print STDERR <