From e4ef7d9051d403417b2ca56f38d00347b08223e6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 6 Mar 2006 18:16:28 +0000 Subject: Some more sanity checks --- ezjail-release.sh | 4 ++-- 1 file 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) for pkg in base ${basejail_manpages} ${basejail_ports} ${basejail_sources}; do if [ "${basejail_dir}" = "${basejail_host}" ]; then mkdir -p ${basejail_tmp} || exerr "Could not create temporary base jail directory ${basejail_tmp}." - cd ${basejail_tmp} + cd ${basejail_tmp} || exerr "Could not cd to ${basejail_tmp}." for basejail_path in pub/FreeBSD/releases pub/FreeBSD/snapshot pub/FreeBSD releases snapshots NO; do [ "${basejail_path}" = "NO" ] && exerr "Could not fetch ${pkg} from ${basejail_host}." ftp "${basejail_host}:${basejail_path}/${basejail_arch}/${basejail_release}/${pkg}/*" && break @@ -88,7 +88,7 @@ release) [ -f install.sh ] && yes | . install.sh rm -rf ${basejail_tmp} else - cd ${basejail_reldir}/${basejail_dir}/${pkg} || exerr "Could not change to ${basejail_dir}." + cd ${basejail_reldir}/${basejail_dir}/${pkg} || exerr "Could not cd to ${basejail_dir}." set -- all [ -f install.sh ] && yes | . install.sh fi -- cgit v1.2.3