diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-10 21:41:33 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-10 22:26:19 +0000 |
commit | f8cb72a084060b20bb78111d10b244814212e5bd (patch) | |
tree | aa26eb8a0f189cf2adba8a43ad30c308452ddbbd /dgit | |
parent | 3a8ba9d4034e46a8056d6825285d0e14f46f4f32 (diff) |
dgit: dpkg-source -b: when using playtree, pass --no-preparation
Closes: 1025694
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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; |