diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-19 16:47:40 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-19 16:47:40 +0000 |
commit | d398afea4d20e4a230a0712736484138254eeb24 (patch) | |
tree | 8d74c736df21429fb92db7977538d82060d6d93b | |
parent | 798d60f2f0456c4a3e174f14502cd733a23a153a (diff) | |
download | simplepkg-d398afea4d20e4a230a0712736484138254eeb24.tar.gz simplepkg-d398afea4d20e4a230a0712736484138254eeb24.tar.bz2 |
fixes at sync_repo
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@758 04377dda-e619-0410-9926-eae83683ac58
-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 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 } |