aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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