]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps prints a confusing...
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 28 Jun 2009 20:00:36 +0000 (16:00 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 28 Jun 2009 20:00:36 +0000 (16:00 -0400)
debian/changelog
dh_shlibdeps

index 0e3b94288049b3d7255aed749a66db358f1f230b..a82d4c629274d31ec84942539ec8751ff30d92ed 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (7.2.18) UNRELEASED; urgency=low
+
+  * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps
+    prints a confusing warning if it does not. Closes: #534226
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 28 Jun 2009 15:59:11 -0400
+
 debhelper (7.2.17) unstable; urgency=low
 
   * Allow command-specific options to be passed to commands
index 3ab89818d3614a9c15aa69ce5ab48d0d6d2a012a..e5f73cbabaa24925f9480e47d5f316de322ce2cd 100755 (executable)
@@ -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;