]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: -a fixed again...
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 19:56:20 +0000 (19:56 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 19:56:20 +0000 (19:56 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@234 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index c537a525ea50de715a93ae16a0b17c1f72920c60..c1b3b04ba1f8f61a84d41243d1620700620c4c33 100755 (executable)
@@ -318,7 +318,7 @@ function template_add {
 
       if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
 
-        if ! svn_check $TEMPLATE_BASE.d/`dirname $file`; then
+        if [ ! -d "$TEMPLATE_BASE.d/`dirname $file`/.svn" ]; then
           mkdir -p $TEMPLATE_BASE.d/`dirname $file`/
           svn add $TEMPLATE_BASE.d/`dirname $file`/
         fi