summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 5d5e0fd..b6cb4e7 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -437,7 +437,7 @@ install)
437 437
438 ezjail_installarch=`uname -p` 438 ezjail_installarch=`uname -p`
439 ezjail_ftphost=${ezjail_ftphost:-"ftp.freebsd.org"} 439 ezjail_ftphost=${ezjail_ftphost:-"ftp.freebsd.org"}
440 ezjail_ftphost=${ezjail_host#ftp://} 440 ezjail_ftphost=${ezjail_ftphost#ftp://}
441 ezjail_dir=${ezjail_ftphost#file://} 441 ezjail_dir=${ezjail_ftphost#file://}
442 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} 442 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD}
443 # XXX 443 # XXX
@@ -473,7 +473,7 @@ install)
473 # Try all paths as stolen from sysinstall, break on success. 473 # Try all paths as stolen from sysinstall, break on success.
474 for ezjail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do 474 for ezjail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do
475 [ "${ezjail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${ezjail_ftphost}." 475 [ "${ezjail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${ezjail_ftphost}."
476 ftp "${ezjail_ftphost}:${ezjail_path}/${ezjail_arch}/${ezjail_release}/${pkg}/*" && break 476 ftp "${ezjail_ftphost}:${ezjail_path}/${ezjail_installarch}/${ezjail_release}/${pkg}/*" && break
477 done 477 done
478 478
479 # These actions are really ugly: sources want $1 to contain the set 479 # These actions are really ugly: sources want $1 to contain the set