diff options
Diffstat (limited to 'trunk/lib')
-rw-r--r-- | trunk/lib/common.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 4f61c46..4e73ea5 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -517,7 +517,11 @@ function svn_check { folder="`dirname $1`" file="`basename $1`" - if [ -d "$folder/$file/.svn" ]; then + if [ ! -e "$folder/$file" ]; then + + return 1 + + elif [ -d "$folder/$file/.svn" ]; then return 0 |