summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-20 19:23:07 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-03-11 16:27:10 +0100
commit9b7b2a7e774f307b6b5ab398908e883364af7247 (patch)
tree7ca67b25cda5844f44db938cf0adcf1dfaae4441 /db-update
parent1ef058dad91a5ca82db2744776251a2ab68bcf90 (diff)
downloaddbscripts-9b7b2a7e774f307b6b5ab398908e883364af7247.tar.gz
dbscripts-9b7b2a7e774f307b6b5ab398908e883364af7247.tar.xz
Add per-repo SVN configs
This could be useful if we move community to a separate SVN repo Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/db-update b/db-update
index ea57eed..3f3b0cc 100755
--- a/db-update
+++ b/db-update
@@ -87,6 +87,7 @@ for A in ${ARCHES[@]}; do
exit 1
fi
+ svnpath="$(get_svnpath $reponame)"
svnrepo="$reponame-$current_arch"
repo_lock $reponame $current_arch
@@ -118,7 +119,7 @@ for A in ${ARCHES[@]}; do
echo "==> Processing new/updated packages for repository '$reponame'..." >&2
cd "$WORKDIR"
- /usr/bin/svn checkout -N $SVN_PATH checkout
+ /usr/bin/svn checkout -N $svnpath checkout
cd checkout
for pkg in $ADDPKGS; do