diff options
-rwxr-xr-x | ezjail-release.sh | 4 |
1 files 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) | |||
41 | for arg do | 41 | for arg do |
42 | case ${arg} in | 42 | case ${arg} in |
43 | -m) basejail_manpages=" manpages"; shift;; | 43 | -m) basejail_manpages=" manpages"; shift;; |
44 | -m) basejail_ports=" ports"; shift;; | 44 | -p) basejail_ports=" ports"; shift;; |
45 | -r) basejail_release="$2"; shift 2;; | 45 | -r) basejail_release="$2"; shift 2;; |
46 | -s) basejail_server="$2"; shift 2;; | 46 | -s) basejail_server="$2"; shift 2;; |
47 | --) shift; break;; | 47 | --) shift; break;; |
@@ -52,7 +52,7 @@ release) | |||
52 | basejail_server=${basejail_server:-"ftp.freebsd.org:"} | 52 | basejail_server=${basejail_server:-"ftp.freebsd.org:"} |
53 | basejail_server=${basejail_server#ftp://} | 53 | basejail_server=${basejail_server#ftp://} |
54 | basejail_dir=${basejail_server#file://} | 54 | basejail_dir=${basejail_server#file://} |
55 | [ "${basejail_dir%%[!/]*}" ] || ${basejail_reldir}=${PWD} | 55 | [ "${basejail_dir%%[!/]*}" ] || basejail_reldir=${PWD} |
56 | basejail_tmp=${ezjail_jaildir}/tmp | 56 | basejail_tmp=${ezjail_jaildir}/tmp |
57 | basejail_fill="base ${basejail_manpages} ${basejail_ports}" | 57 | basejail_fill="base ${basejail_manpages} ${basejail_ports}" |
58 | 58 | ||