diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 16:00:36 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 16:00:36 -0400 |
commit | 0ebb1c696b8e5617a348976abcb3858e47e1df01 (patch) | |
tree | f2e922f835d2d3537d6aa15776a3b601adafb797 /dh_shlibdeps | |
parent | a7a4b118fa290eb38be206c4c01a8f433c4f8f14 (diff) | |
download | debhelper-0ebb1c696b8e5617a348976abcb3858e47e1df01.tar.gz |
dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps prints a confusing warning if it does not. Closes: #534226
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-x | dh_shlibdeps | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps index 3ab89818..e5f73cba 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -112,6 +112,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); my $ext=pkgext($package); + # dpkg-shlibdeps expects this directory to exist + if (! -d "$tmp/DEBIAN") { + doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN"); + } + my @filelist; my $ff; |