From d34646bc86241e85ac32e17ed833c8c8d65b9cb6 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 5 Apr 2007 17:22:57 +0000 Subject: common.sh: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@247 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trunk') 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 -- cgit v1.2.3