diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 20:13:57 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 20:13:57 +0000 |
commit | ec8e72feb16dab683b1da63c9a3c3de8ff435d78 (patch) | |
tree | 2062c13196a7da1343f87022c52dbb4c9e8e3bf5 /trunk/src/jail-commit | |
parent | d41e34ee41d5abe32289d84e310f49f2c06290cb (diff) | |
download | simplepkg-ec8e72feb16dab683b1da63c9a3c3de8ff435d78.tar.gz simplepkg-ec8e72feb16dab683b1da63c9a3c3de8ff435d78.tar.bz2 |
jail-commit: minor fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@235 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-x | trunk/src/jail-commit | 4 |
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 |