diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 13:08:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 13:08:47 +0200 |
commit | 388d629327d97e8d15a7a67cc87ae36edfe2f385 (patch) | |
tree | 90ce2c10e99915370467e3e468bf807154391235 /db-remove | |
parent | ff0745c50507f0cea48dbf97b8f55734698e3c13 (diff) | |
download | dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz |
use common workdir
Diffstat (limited to 'db-remove')
-rwxr-xr-x | db-remove | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -15,10 +15,6 @@ _arch="$3" ftppath="$FTP_BASE/$reponame/os" svnrepo="$reponame-$_arch" -[ "$UID" = "" ] && UID=$(uid) - -WORKDIR="$TMPDIR/db-remove.$svnrepo.$UID" - cleanup() { trap '' 0 2 # unlock @@ -43,7 +39,6 @@ trap cleanup 0 repo_lock $reponame $_arch || exit 1 echo -n "Removing $packagebase from $reponame..." -/bin/mkdir -p "$WORKDIR" cd "$WORKDIR" /usr/bin/svn checkout -q -N $SVNREPO checkout >/dev/null cd checkout |