Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@lwhsu.org>2022-02-05 03:25:46 +0300
committerLi-Wen Hsu <lwhsu@lwhsu.org>2022-02-05 03:25:46 +0300
commitf39126e4ba4550d004faf03f404e49791a03349d (patch)
tree802f88610ff1c80224f09854951e8d519f1691c1 /src
parent42d74766e179794caf9f4d9ccf39de98348c5bca (diff)
download.freebsd.org has no /ftp/ in the path anymore
Diffstat (limited to 'src')
-rwxr-xr-xsrc/share/poudriere/jail.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh
index 3374bb86..ab464730 100755
--- a/src/share/poudriere/jail.sh
+++ b/src/share/poudriere/jail.sh
@@ -709,7 +709,7 @@ install_from_ftp() {
case $(echo "${FREEBSD_HOST}" | \
tr '[:upper:]' '[:lower:]') in
*download.freebsd.org)
- URL="${FREEBSD_HOST}/ftp/${type}/${ARCH}/${V}"
+ URL="${FREEBSD_HOST}/${type}/${ARCH}/${V}"
;;
*)
URL="${FREEBSD_HOST}/pub/FreeBSD/${type}/${ARCH}/${V}"
@@ -773,7 +773,7 @@ install_from_ftp() {
case $(echo "${FREEBSD_HOST}" | \
tr '[:upper:]' '[:lower:]') in
*download.freebsd.org)
- URL="${FREEBSD_HOST}/ftp/${type}/${ARCH%%.*}/${ARCH##*.}/${V}"
+ URL="${FREEBSD_HOST}/${type}/${ARCH%%.*}/${ARCH##*.}/${V}"
;;
*)
URL="${FREEBSD_HOST}/pub/FreeBSD/${type}/${ARCH%%.*}/${ARCH##*.}/${V}"