From d398afea4d20e4a230a0712736484138254eeb24 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 19 Jan 2009 16:47:40 +0000 Subject: fixes at sync_repo git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@758 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index d1f16c6..93ebeb1 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -659,7 +659,11 @@ function sync_repo { mkdir -p $folder cd $folder - su_svn update || build_repo $folder $url + if [ -d ".svn" ]; then + su_svn update + else + build_repo $folder $url + fi cd $pwd } -- cgit v1.2.3