A WIP snuck in the rev 1.34 commit.
This commit is contained in:
parent
d360ec0f2c
commit
ff38141eb3
@ -191,17 +191,12 @@ getpackagesite(void)
|
||||
return sitepath;
|
||||
}
|
||||
|
||||
if (getenv("PACKAGEMIRROR"))
|
||||
strcpy(sitepath, getenv("PACKAGEMIRROR"));
|
||||
if (getenv("PACKAGEROOT"))
|
||||
strcpy(sitepath, getenv("PACKAGEROOT"));
|
||||
else
|
||||
strcpy(sitepath, "ftp://ftp.FreeBSD.org");
|
||||
|
||||
if (getenv("PACKAGEROOT"))
|
||||
strcpy(sitepath, getenv("PACKAGEMIRRORROOT"));
|
||||
else
|
||||
strcat(sitepath, "/pub");
|
||||
|
||||
strcat(sitepath, "/FreeBSD/ports/");
|
||||
strcat(sitepath, "/pub/FreeBSD/ports/");
|
||||
|
||||
uname(&u);
|
||||
strcat(sitepath, u.machine);
|
||||
|
Loading…
x
Reference in New Issue
Block a user