diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 17:22:57 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 17:22:57 +0000 |
commit | d34646bc86241e85ac32e17ed833c8c8d65b9cb6 (patch) | |
tree | 158feb9b796c920f218200cac020fc67734b5d06 /trunk/lib | |
parent | e6bdbbf9c8194584c8cbc413fc6f41f4e4ec2b30 (diff) | |
download | simplepkg-d34646bc86241e85ac32e17ed833c8c8d65b9cb6.tar.gz simplepkg-d34646bc86241e85ac32e17ed833c8c8d65b9cb6.tar.bz2 |
common.sh: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@247 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r-- | trunk/lib/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 4b648df..807c8c9 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -482,9 +482,9 @@ function set_jail_perms { cat $TEMPLATE_BASE.perms | while read entry; do file="`echo $entry | cut -d ";" -f 1`" if [ -a "$TEMPLATE_BASE.d/$file" ] && [ -a "$1/$file" ]; then - owner="`echo entry | cut -d ";" -f 2`" - group="`echo entry | cut -d ";" -f 3`" - perms="`echo entry | cut -d ";" -f 4`" + owner="`echo $entry | cut -d ";" -f 2`" + group="`echo $entry | cut -d ";" -f 3`" + perms="`echo $entry | cut -d ";" -f 4`" chmod $perms $1/$file chown $owner:$group $1/$file fi |