summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-07-15 16:11:22 +0000
committererdgeist <erdgeist@erdgeist.org>2006-07-15 16:11:22 +0000
commit5b5921370d821cef89194a628b1942af382aedfb (patch)
tree093f075c79b5b61c94b4ec820ceb3e37d49049aa /ezjail.sh
parent372d2696dfb6296b08f8d7b55d39fff82e8ab63e (diff)
Fixed some expansion/quotation issues with tr's parameters ([:alnum:] etc.) Thanks to Simon L. Nielsen.
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail.sh b/ezjail.sh
index 6400f91..5925392 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -41,7 +41,7 @@ do_cmd()
41 # If a jail list is given on command line, process it 41 # If a jail list is given on command line, process it
42 # If not, fetch it from our config directory 42 # If not, fetch it from our config directory
43 if [ -n "$*" ]; then 43 if [ -n "$*" ]; then
44 ezjail_list=`echo -n $* | tr -c "[:alnum:] " _` 44 ezjail_list=`echo -n $* | tr -c '[:alnum:] ' '_'`
45 ezjail_fromrc="NO" 45 ezjail_fromrc="NO"
46 else 46 else
47 ezjail_list=`find -X ${ezjail_prefix}/etc/ezjail/ 2> /dev/null | xargs rcorder | xargs basename -a` 47 ezjail_list=`find -X ${ezjail_prefix}/etc/ezjail/ 2> /dev/null | xargs rcorder | xargs basename -a`