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 45aea1e..76e326b 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -70,7 +70,7 @@ function template_merge {
function template_svn_commit {
if use_svn; then
- cd `basedir $TEMPLATE_BASE`
+ cd `dirname $TEMPLATE_BASE`
svn commit -m "changes for `date`"
fi
@@ -100,7 +100,7 @@ function do_commit {
echo updating $jailpath...
fi
if [ -d "$TEMPLATE_BASE.d" ] || [ -a "$TEMPLATE_BASE.template" ]; then
- templatepkg -u $jail $jailpath
+ templatepkg -u $template $jailpath
template_merge $jailpath
template_svn_commit $TEMPLATE_BASE
fi