]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:48:43 +0000 (20:48 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:48:43 +0000 (20:48 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@259 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index e4f3f2d42cd0036a8945b5bf0359012df14082bd..e337849776bc2e0f4fec8c9c13bc536733219e87 100755 (executable)
@@ -231,6 +231,7 @@ function template_create {
       
     if use_svn && [ -d "$orig_template/.svn" ]; then
       rsync -av --exclude=.svn $orig_template/$ROOT.d/ $TEMPLATE_BASE.d/
+      cd `dirname $TEMPLATE_BASE`
       svn add $TEMPLATE_BASE.d/*
       info_commit="yes"
     else