aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-commit
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-xtrunk/src/jail-commit6
1 files changed, 2 insertions, 4 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index d6e18f3..656d568 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -36,8 +36,7 @@ function template_merge {
return 1
fi
- rm -f $TEMPLATE_BASE.perms
- touch $TEMPLATE_BASE.perms
+ echo "" > $TEMPLATE_BASE.perms
cd $TEMPLATE_BASE.d
for file in `find`; do
@@ -57,8 +56,7 @@ function template_merge {
function template_svn_commit {
- if [ "$TEMPLATES_UNDER_SVN" == "1" ] && \
- [ "$TEMPLATE_STORAGE_STYLE" == "own-folder" ]; then
+ if use_svn; then
cd `basedir $TEMPLATE_BASE`
svn commit -m "changes for `date`"
fi