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/share
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2022-06-18 06:15:19 +0300
committerGitHub <noreply@github.com>2022-06-18 06:15:19 +0300
commit1728012cdd75a7f17c42070abcb18f6dbd644ebd (patch)
tree24151a40d37798f84a83c83c1e0f42579e103ed5 /src/share
parent6a2fbd20d303abdc8c3aed84da3be2409a7792cd (diff)
parentf39126e4ba4550d004faf03f404e49791a03349d (diff)
Merge pull request #975 from lwhsu/download-path
download.freebsd.org has no /ftp/ in the path anymore
Diffstat (limited to 'src/share')
-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}"