From aef71fe3f898286d2872775e7e703aa368462d8a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 20 Feb 2006 12:10:16 +0000 Subject: Some stupid mistakes fixed --- ezjail-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ezjail-release.sh b/ezjail-release.sh index 5344a06..f25b359 100755 --- a/ezjail-release.sh +++ b/ezjail-release.sh @@ -41,7 +41,7 @@ release) for arg do case ${arg} in -m) basejail_manpages=" manpages"; shift;; - -m) basejail_ports=" ports"; shift;; + -p) basejail_ports=" ports"; shift;; -r) basejail_release="$2"; shift 2;; -s) basejail_server="$2"; shift 2;; --) shift; break;; @@ -52,7 +52,7 @@ release) basejail_server=${basejail_server:-"ftp.freebsd.org:"} basejail_server=${basejail_server#ftp://} basejail_dir=${basejail_server#file://} - [ "${basejail_dir%%[!/]*}" ] || ${basejail_reldir}=${PWD} + [ "${basejail_dir%%[!/]*}" ] || basejail_reldir=${PWD} basejail_tmp=${ezjail_jaildir}/tmp basejail_fill="base ${basejail_manpages} ${basejail_ports}" -- cgit v1.2.3