A WIP snuck in the rev 1.34 commit.
This commit is contained in:
parent
3f36f543ff
commit
1e5a82fe65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76391
@ -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…
Reference in New Issue
Block a user