summaryrefslogtreecommitdiff
path: root/ezjail-release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-release.sh')
-rwxr-xr-xezjail-release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-release.sh b/ezjail-release.sh
index 5befff6..1be5849 100755
--- a/ezjail-release.sh
+++ b/ezjail-release.sh
@@ -79,7 +79,7 @@ release)
79 for pkg in base ${basejail_manpages} ${basejail_ports} ${basejail_sources}; do 79 for pkg in base ${basejail_manpages} ${basejail_ports} ${basejail_sources}; do
80 if [ "${basejail_dir}" = "${basejail_host}" ]; then 80 if [ "${basejail_dir}" = "${basejail_host}" ]; then
81 mkdir -p ${basejail_tmp} || exerr "Could not create temporary base jail directory ${basejail_tmp}." 81 mkdir -p ${basejail_tmp} || exerr "Could not create temporary base jail directory ${basejail_tmp}."
82 cd ${basejail_tmp} 82 cd ${basejail_tmp} || exerr "Could not cd to ${basejail_tmp}."
83 for basejail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do 83 for basejail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do
84 [ "${basejail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${basejail_host}." 84 [ "${basejail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${basejail_host}."
85 ftp "${basejail_host}:${basejail_path}/${basejail_arch}/${basejail_release}/${pkg}/*" && break 85 ftp "${basejail_host}:${basejail_path}/${basejail_arch}/${basejail_release}/${pkg}/*" && break
@@ -88,7 +88,7 @@ release)
88 [ -f install.sh ] && yes | . install.sh 88 [ -f install.sh ] && yes | . install.sh
89 rm -rf ${basejail_tmp} 89 rm -rf ${basejail_tmp}
90 else 90 else
91 cd ${basejail_reldir}/${basejail_dir}/${pkg} || exerr "Could not change to ${basejail_dir}." 91 cd ${basejail_reldir}/${basejail_dir}/${pkg} || exerr "Could not cd to ${basejail_dir}."
92 set -- all 92 set -- all
93 [ -f install.sh ] && yes | . install.sh 93 [ -f install.sh ] && yes | . install.sh
94 fi 94 fi