diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-06-04 17:00:51 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 16:47:47 +0100 |
commit | a4264dc02181058e3c94227bb6686aeed308e285 (patch) | |
tree | 8114f07c3958e63ab0febb643de1135cc8e27cfc /dgit | |
parent | fd839af91633221c00872131c34d51e203aa185f (diff) |
Split brain: Create debian/patches in case it does not exist
When we need to make the .gitignore patch, there may not yet be any
debian/patches directory.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2580,6 +2580,7 @@ sub quiltify_splitbrain ($$$$$) { !($diffbits->{O2A} & 02)) { # patches do not change .gitignore quiltify_splitbrain_needed(); progress "creating patch to represent .gitignore changes"; + ensuredir "debian/patches"; my $gipatch = "debian/patches/auto-gitignore"; open GIPATCH, ">>", "$gipatch" or die "$gipatch: $!"; stat GIPATCH or die "$gipatch: $!"; |