summaryrefslogtreecommitdiffstats
path: root/db-remove
diff options
context:
space:
mode:
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