diff options
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r-- | trunk/lib/common.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index c73b65b..a7fa50c 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -652,13 +652,15 @@ function sync_repo { # $2 - svn address [ $# -ne 2 ] && exit 5 - local folder url + local folder url cwd folder="$1" url="$1" + cwd="`pwd`" mkdir -p $folder cd $folder su_svn update || build_repo $folder $url + cd $pwd } |