Some stupid mistakes fixed
This commit is contained in:
parent
0720cdeb61
commit
aef71fe3f8
@ -41,7 +41,7 @@ release)
|
|||||||
for arg do
|
for arg do
|
||||||
case ${arg} in
|
case ${arg} in
|
||||||
-m) basejail_manpages=" manpages"; shift;;
|
-m) basejail_manpages=" manpages"; shift;;
|
||||||
-m) basejail_ports=" ports"; shift;;
|
-p) basejail_ports=" ports"; shift;;
|
||||||
-r) basejail_release="$2"; shift 2;;
|
-r) basejail_release="$2"; shift 2;;
|
||||||
-s) basejail_server="$2"; shift 2;;
|
-s) basejail_server="$2"; shift 2;;
|
||||||
--) shift; break;;
|
--) shift; break;;
|
||||||
@ -52,7 +52,7 @@ release)
|
|||||||
basejail_server=${basejail_server:-"ftp.freebsd.org:"}
|
basejail_server=${basejail_server:-"ftp.freebsd.org:"}
|
||||||
basejail_server=${basejail_server#ftp://}
|
basejail_server=${basejail_server#ftp://}
|
||||||
basejail_dir=${basejail_server#file://}
|
basejail_dir=${basejail_server#file://}
|
||||||
[ "${basejail_dir%%[!/]*}" ] || ${basejail_reldir}=${PWD}
|
[ "${basejail_dir%%[!/]*}" ] || basejail_reldir=${PWD}
|
||||||
basejail_tmp=${ezjail_jaildir}/tmp
|
basejail_tmp=${ezjail_jaildir}/tmp
|
||||||
basejail_fill="base ${basejail_manpages} ${basejail_ports}"
|
basejail_fill="base ${basejail_manpages} ${basejail_ports}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user