aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/src/jail-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index f1a1c9c..278d766 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -87,8 +87,8 @@ function template_merge {
cat $TEMPLATE_BASE.perms.tmp | sed '/^$/d' > $TEMPLATE_BASE.perms
rm -f $TEMPLATE_BASE.perms.tmp
- if ! svn_check $TEMPLATE_BASE,perms; then
- svn add $TEMPLATE_BASE,perms
+ if templates_under_svn && ! svn_check $TEMPLATE_BASE.perms; then
+ svn add $TEMPLATE_BASE.perms
fi
}