diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-29 05:31:37 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-29 05:39:37 +0100 |
commit | f0599eec2a9ca6691de636c89a339572d38250d4 (patch) | |
tree | fceffb224b79d2423b6c64872d51977b2e19ccf1 /dgit | |
parent | 4f0df1ece5587950332b2a6e3a4b54e4e7959bdd (diff) |
dgit build: Warn if --build-products-dir is not `..'.
Closes:#904859.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6294,6 +6294,10 @@ sub postbuild_mergechanges_vanilla ($) { sub cmd_build { build_prep_early(); + $buildproductsdir eq '..' or print STDERR <<END; +$us: warning: build-products-dir set, but not supported by dgit build +$us: warning: things may go wrong or files may go to the wrong place +END my @dbp = (@dpkgbuildpackage, qw(-us -uc), changesopts_initial(), @ARGV); my $wantsrc = massage_dbp_args \@dbp; build_prep($wantsrc); |