summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 13:08:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 13:08:47 +0200
commit388d629327d97e8d15a7a67cc87ae36edfe2f385 (patch)
tree90ce2c10e99915370467e3e468bf807154391235 /db-move
parentff0745c50507f0cea48dbf97b8f55734698e3c13 (diff)
downloaddbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz
dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz
use common workdir
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move6
1 files changed, 0 insertions, 6 deletions
diff --git a/db-move b/db-move
index 8347a18..8b15831 100755
--- a/db-move
+++ b/db-move
@@ -23,10 +23,6 @@ ftppath_to="$FTP_BASE/$repoto/os/"
svnrepo_from="$repofrom-$_arch"
svnrepo_to="$repoto-$_arch"
-[ "$UID" = "" ] && UID=$(uid)
-
-WORKDIR="$TMPDIR/db-move.$svnrepo_from.$svnrepo_to.$UID"
-
cleanup() {
trap '' 0 2
# unlock
@@ -52,8 +48,6 @@ trap cleanup 0
repo_lock $repoto $_arch || exit 1
repo_lock $repofrom $_arch || exit 1
-/bin/mkdir -p "$WORKDIR"
-
cd "$WORKDIR"
/usr/bin/svn checkout -q -N $SVNREPO checkout >/dev/null
cd checkout