Lines 506-511
Link Here
|
506 |
if (readlink("/etc/make.profile", profile, sizeof(profile)) == -1) |
506 |
if (readlink("/etc/make.profile", profile, sizeof(profile)) == -1) |
507 |
strcpy(profile, "/etc/make.profile"); |
507 |
strcpy(profile, "/etc/make.profile"); |
508 |
do { |
508 |
do { |
|
|
509 |
chdir("/etc"); |
509 |
if (f == 0) |
510 |
if (f == 0) |
510 |
snprintf(portage_file, sizeof(portage_file), "%s/make.defaults", profile); |
511 |
snprintf(portage_file, sizeof(portage_file), "%s/make.defaults", profile); |
511 |
IF_DEBUG(fprintf(stderr, "profile %s\n", files[f])); |
512 |
IF_DEBUG(fprintf(stderr, "profile %s\n", files[f])); |