From ec50a8b4e845f5acdf830e0c878b78351e9f2769 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 27 Nov 2008 02:22:22 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@540 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3