mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-05 22:00:06 +08:00
@@ -95,7 +95,7 @@ os_freebsd_setsrc (char *option)
|
||||
// https://help.mirrors.cernet.edu.cn/FreeBSD-ports/
|
||||
chsrc_backup ("/etc/make.conf");
|
||||
|
||||
char *ports = xy_strjoin (3, "MASTER_SITE_OVERRIDE?=http://", source.url, "/freebsd-ports/distfiles/${DIST_SUBDIR}/");
|
||||
char *ports = xy_strjoin (3, "MASTER_SITE_OVERRIDE?=http://", source.url, "/freebsd-ports/distfiles/${DIST_SUBDIR}/\n");
|
||||
chsrc_append_to_file (ports, "/etc/make.conf");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user