The following commit has been merged in the master branch:
commit 380da98802411a53b34653d231ba2105324ebebc
Author: Raphael Geissert <[email protected]>
Date:   Tue Feb 14 23:14:23 2012 +0000

    debdiff: add missing chdir to a dpkg-source invocation

diff --git a/debian/changelog b/debian/changelog
index 0fa4797..b1e94af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,8 +23,10 @@ devscripts (2.11.4) UNRELEASED; urgency=low
     (Closes: #659946).
 
   [ Raphael Geissert ]
-  * debdiff: Remove undocumented feature treating extensionless files as if
-    they were packages (Closes: #659559)
+  * debdiff:
+    + Remove undocumented feature treating extensionless files as if
+      they were packages (Closes: #659559)
+    + Add missing chdir for dpkg-source
 
  -- Benjamin Drung <[email protected]>  Wed, 15 Feb 2012 15:56:19 +0100
 
diff --git a/scripts/debdiff.pl b/scripts/debdiff.pl
index a1afcd4..8626dce 100755
--- a/scripts/debdiff.pl
+++ b/scripts/debdiff.pl
@@ -555,6 +555,7 @@ elsif ($type eq 'dsc') {
                cp $dscs[$i], $diri || fatal "copy $dscs[$i] $diri: $!";
                spawn(exec => ['dpkg-source', @opts, $dscx],
                      to_file => '/dev/null',
+                     chdir => $diri,
                      wait_child => 1);
            }
            opendir DIR,$diri;

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to