From: rhatto Date: Wed, 4 Apr 2007 20:13:57 +0000 (+0000) Subject: jail-commit: minor fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ec8e72feb16dab683b1da63c9a3c3de8ff435d78;p=simplepkg.git jail-commit: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@235 04377dda-e619-0410-9926-eae83683ac58 --- 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