Changeset 183
- Timestamp:
- 06/07/15 11:47:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r182 r183 1053 1053 $specglobals{buildroot} = $1; 1054 1054 } elsif (my ($sval) = /^source0?:\s*(.+)/i) { 1055 $sval =~ s/\s*$//; 1055 1056 $pkgdata{main}{source} = $sval; 1056 1057 # Do this here since we don't use any URL forms elsewhere (maybe some other time) 1057 $pkgdata{main}{source} =~ s|^.+/([^/]+)$|$ sval|;1058 $pkgdata{main}{source} =~ s|^.+/([^/]+)$|$1|; 1058 1059 $pkgdata{sources}{0} = $pkgdata{main}{source}; 1059 1060 # .tar, .tar.gz, .tar.bz2, .tgz, .xz 1060 die "Unknown tarball format $1\n" if $1!~ /\.(?:tar(?:\.(?:gz|bz2|xz))?|tgz)$/;1061 die "Unknown Source: header format $sval\n" if $sval !~ /\.(?:tar(?:\.(?:gz|bz2|xz))?|tgz)$/; 1061 1062 } elsif (my ($srcnum, $src) = (/^source([0-9]+):\s*(.+)/i)) { 1063 $src =~ s/\s*$//; 1062 1064 $pkgdata{sources}{$srcnum} = $src; 1063 1065 # Do this here since we don't use any URL forms elsewhere (maybe some other time)
Note:
See TracChangeset
for help on using the changeset viewer.