Procházet zdrojové kódy

Allow ~ in Files: field as well

Wichert Akkerman před 23 roky
rodič
revize
44550a57e0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      scripts/dpkg-source.pl

+ 1 - 1
scripts/dpkg-source.pl

@@ -545,7 +545,7 @@ if ($opmode eq 'build') {
     $files= $fi{'S Files'};
     for $file (split(/\n /,$files)) {
         next if $file eq '';
-        $file =~ m/^([0-9a-f]{32})[ \t]+(\d+)[ \t]+([0-9a-zA-Z][-+:.,=0-9a-zA-Z_]+)$/
+        $file =~ m/^([0-9a-f]{32})[ \t]+(\d+)[ \t]+([0-9a-zA-Z][-+:.,=0-9a-zA-Z_~]+)$/
             || &error("Files field contains bad line \`$file'");
         ($md5sum{$3},$size{$3},$file) = ($1,$2,$3);
         &setfile(\$tarfile) if $file =~ m/\.tar\.gz$/;