From: rhatto Date: Thu, 27 Nov 2008 02:22:22 +0000 (+0000) Subject: minor fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ec50a8b4e845f5acdf830e0c878b78351e9f2769;p=simplepkg.git minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@540 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index c542e19..1ce8381 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -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