]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 02:22:22 +0000 (02:22 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 02:22:22 +0000 (02:22 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@540 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index c542e196d9e8929d2b567f7267f3fb3027ab8e27..1ce83810d2dc8cab39ae10320073d7c9bfec0dee 100644 (file)
@@ -572,7 +572,7 @@ function sync_repo {
 
 function svn_add {
 
-  if ! svn_check $1; then
+  if [ -d "`dirname $1`/.svn" ] && ! svn_check $1; then
     cwd="`pwd`"
     cd `dirname $1` && svn add $1
     cd $cwd