Changeset 1253 in ProjectBuilder
- Timestamp:
- Mar 11, 2011, 8:58:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/rpmbootstrap/bin/rpmbootstrap
r1181 r1253 279 279 while ($found == 0) { 280 280 $response1 = $ua->get("$repo/repodata"); 281 pb_log(2,"REPO analyzed: $repo\n"); 281 282 if (! $response1->is_success) { 282 283 $repo = dirname($repo); 283 284 284 pb_log(2,"REPO analyzed: $repo\n");285 285 # There is a limit to the loop, when / is reached and nothing found 286 286 my ($scheme, $account, $host, $port, $path) = pb_get_uri($repo); 287 die "Unable to find the repodata structure of the mirror $mirror\nPlease check the URL or warn the dev team.\n" if ( $path =~ /^[\/]+$/);287 die "Unable to find the repodata structure of the mirror $mirror\nPlease check the URL or warn the dev team.\n" if (($path =~ /^[\/]+$/) || ($path =~ /^$/)); 288 288 289 289 # / not reached, so looping … … 292 292 # repodata found $repo is correct 293 293 $found = 1; 294 pb_log(2,"REPO found: $repo\n"); 294 295 last; 295 296 }
Note:
See TracChangeset
for help on using the changeset viewer.