From e83c2468c5410ca0b87acec34166e985e02f5882 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 22 Apr 2006 14:46:29 +0000 Subject: Two typos when merging ezjail-release.sh into ezjail-admin. Thanks to Greg Johnson --- ezjail-admin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index 5d5e0fd..b6cb4e7 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -437,7 +437,7 @@ install) ezjail_installarch=`uname -p` ezjail_ftphost=${ezjail_ftphost:-"ftp.freebsd.org"} - ezjail_ftphost=${ezjail_host#ftp://} + ezjail_ftphost=${ezjail_ftphost#ftp://} ezjail_dir=${ezjail_ftphost#file://} [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} # XXX @@ -473,7 +473,7 @@ install) # Try all paths as stolen from sysinstall, break on success. for ezjail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do [ "${ezjail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${ezjail_ftphost}." - ftp "${ezjail_ftphost}:${ezjail_path}/${ezjail_arch}/${ezjail_release}/${pkg}/*" && break + ftp "${ezjail_ftphost}:${ezjail_path}/${ezjail_installarch}/${ezjail_release}/${pkg}/*" && break done # These actions are really ugly: sources want $1 to contain the set -- cgit v1.2.3