diff options
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r-- | trunk/lib/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |