]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
common.sh: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:22:57 +0000 (17:22 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:22:57 +0000 (17:22 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@247 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index 4b648dfea9ba8cd933756c62d952df9f1e1183a8..807c8c9ac6e3df52c01bb9932b373f632fc7c4e9 100644 (file)
@@ -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