diff options
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7132,6 +7132,13 @@ sub build_source { unpack_playtree_need_cd_work($headref); changedir '..'; } + + # We are presenting dpkg-source with a tree with no .pc directory. + # Without this option, dpkg-source tries to guess if it should + # mess about (un)applying patches. Depending on what precisely is + # in the patches, it can guess wrong. + push @cmd, qw(--no-preparation); + runcmd @cmd, qw(--), $leafdir; } else { $leafdir = basename $maindir; |