]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
jail-commit: minor fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 20:13:57 +0000 (20:13 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 20:13:57 +0000 (20:13 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@235 04377dda-e619-0410-9926-eae83683ac58

trunk/src/jail-commit

index 45aea1eb6269dece85361537ed5dc54ca202f3d8..76e326be180255e398aa77f1f1f1b631674adff9 100755 (executable)
@@ -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