Changeset 1429 in ProjectBuilder for devel/rpmbootstrap/bin/rpmbootstrap


Ignore:
Timestamp:
Feb 26, 2012, 1:00:49 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix rpmbootstrap to support sites with multiple href in their page (opensuse main site e.g)
  • Fix conf to support VE for opensuse 12.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/rpmbootstrap/bin/rpmbootstrap

    r1402 r1429  
    323323my %url;
    324324foreach my $l (split(/\n/,$response->as_string())) {
    325     # Find a href ref
    326     if ($l =~ /<a href="(.*)">(.*)<\/a>/i) {
     325    # Find a href ref in first pos
     326    if ($l =~ /<a href="([^<>]*)">([^<>]*)<\/a>/i) {
    327327        my $url = $1;
    328328        my $pkg = $1;
Note: See TracChangeset for help on using the changeset viewer.