summaryrefslogtreecommitdiffstats
path: root/db-remove
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-remove
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-remove')
-rwxr-xr-xdb-remove3
1 files changed, 2 insertions, 1 deletions
diff --git a/db-remove b/db-remove
index acc849d..501c70a 100755
--- a/db-remove
+++ b/db-remove
@@ -17,6 +17,7 @@ export CARCH="$arch"
ftppath="$FTP_BASE/$reponame/os/$arch/"
svnrepo="$reponame-$arch"
+svnpath="$(get_svnpath $reponame)"
[ "$UID" = "" ] && UID=$(uid)
@@ -51,7 +52,7 @@ repo_lock $reponame $arch
echo "==> Removing package '$packagename' from '$reponame'..." >&2
cd "$WORKDIR"
-/usr/bin/svn checkout -N $SVN_PATH checkout
+/usr/bin/svn checkout -N $svnpath checkout
cd checkout
/usr/bin/svn up -q $packagename