Changeset 203


Ignore:
Timestamp:
08/16/15 19:22:57 (9 years ago)
Author:
kdeugau
Message:

/trunk

Fix from Andreas Scherer for minor snafu in previous patch:

Numbered "sources" might have non-standard file formats, i.e., they do
not have to be (compressed) "tarballs".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r202 r203  
    11711171        $src =~ s/\s*$//;
    11721172        $srcnum = 0 unless $srcnum;
    1173         $pkgdata{main}{source} = basename($src);
    1174         $pkgdata{sources}{0} = $pkgdata{main}{source} if 0 == $srcnum;
     1173        $pkgdata{sources}{$srcnum} = basename($src);
     1174        $pkgdata{main}{source} = $pkgdata{sources}{0} if 0 == $srcnum;
    11751175      } elsif (my ($patchnum, $patch) = (/^patch(\d*):\s*(.+)/i)) {
    11761176        $patch =~ s/\s*$//;
Note: See TracChangeset for help on using the changeset viewer.