chiark / gitweb /
git-debrebase: new-upstream: Fix error message for new version with bad syntax
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 63126712f4490bfd78f4a47ca73be00e25d04dc9..4e43d21ddf9d07583bb64d69123ae54745b83faa 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -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);