aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 20:33:00 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 20:33:00 +0000
commit16241a8f1f0e2aa159ee0e6401cdca6837ee6f62 (patch)
tree3084c99bfa7c67720e5d9217ab3dc5aa5bbb2b5a /src
parent1742db6d485dff32e834caaa2a35e9d8a56b3c10 (diff)
downloadsimplepkg-16241a8f1f0e2aa159ee0e6401cdca6837ee6f62.tar.gz
simplepkg-16241a8f1f0e2aa159ee0e6401cdca6837ee6f62.tar.bz2
jail-commit: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@171 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-xsrc/jail-commit8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jail-commit b/src/jail-commit
index 6c66cd8..8de547c 100755
--- a/src/jail-commit
+++ b/src/jail-commit
@@ -45,11 +45,11 @@ function template_merge {
if ! diff $file $1/$file; then
echo updating $file
cp -af $1/$file $file
- perms="`numeric_perm $1/$file`"
- owner="`get_owner $1/$file`"
- group="`get_group $1/$file`"
- echo $file\;$owner\;$group\;$perms >> $TEMPLATE_BASE.perms
fi
+ perms="`numeric_perm $1/$file`"
+ owner="`get_owner $1/$file`"
+ group="`get_group $1/$file`"
+ echo "$file;$owner;$group;$perms" >> $TEMPLATE_BASE.perms
fi
done