From ec8e72feb16dab683b1da63c9a3c3de8ff435d78 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 4 Apr 2007 20:13:57 +0000 Subject: jail-commit: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@235 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/jail-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trunk/src/jail-commit') 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 -- cgit v1.2.3