diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-20 12:10:16 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-20 12:10:16 +0000 |
commit | aef71fe3f898286d2872775e7e703aa368462d8a (patch) | |
tree | 3569f3180e70f80c32947e7bc77dbaab756c52e7 /ezjail-release.sh | |
parent | 0720cdeb61f2433784ce1170ee262e8f37f8bcea (diff) |
Some stupid mistakes fixed
Diffstat (limited to 'ezjail-release.sh')
-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 | ||