Package: devscripts
Version: 2.10.72
Severity: important
Tags: patch
User: [email protected]
Usertags: uscan

Hi,

The implementation of the fix for #615108 -- using perl's glob() instead
of ls -- is unfortunately broken because the path to the tmpdir is missing:


--- /usr/bin/uscan      2011-04-15 06:58:09.000000000 +0200
+++ uscan       2011-04-15 17:39:09.928000106 +0200
@@ -1376,7 +1376,7 @@
        my $hidden = ".[!.]*";
        system("unzip -q -a -d $tempdir $destdir/$newfile_base") == 0
          or die("Repacking from zip to tar.gz failed (could not unzip)\n");
-       if (defined glob($hidden)) {
+       if (defined glob("$tempdir/$hidden")) {
            $globpattern .= " $hidden";
        }
        system("cd $tempdir; GZIP=-9 tar --owner=root --group=root --mode=a+rX 
-czf $destdir/$newfile_base_gz $globpattern") == 0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to