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

trunk/src/templatepkg

index 3b77b97da84d999cbb3a53dd6ee5dd866a471111..3d2287bc526fd9b78d38f06acf2f1481502f5945 100755 (executable)
@@ -239,8 +239,8 @@ function template_create {
       
     if use_svn && [ -d "$orig_template/.svn" ]; then
       rsync -av --exclude=.svn $orig_template/$ROOT.d/ $TEMPLATE_BASE.d/
-      cd $BASE_CONF/templates
-      svn add `basename $TEMPLATE_BASE`
+      cd $TEMPLATE_BASE.d
+      svn add *
       info_commit="yes"
     else
       rsync -av $orig_template/$ROOT.d/ $TEMPLATE_BASE.d/