summaryrefslogtreecommitdiffstats
path: root/db-update
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-update
parentff0745c50507f0cea48dbf97b8f55734698e3c13 (diff)
downloaddbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz
dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz
use common workdir
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 0 insertions, 2 deletions
diff --git a/db-update b/db-update
index d08c96d..e53aee8 100755
--- a/db-update
+++ b/db-update
@@ -24,7 +24,6 @@ if [ $found -ne 1 ]; then
exit 1
fi
-WORKDIR="$TMPDIR/db-update.$reponame.$UID"
ADDPKGS=""
ANYPKGS=""
@@ -74,7 +73,6 @@ if [ -d "$stagedir" ]; then
ANYPKGS="$(getpkgfiles $stagedir/*-any$PKGEXT 2>/dev/null)"
fi
-mkdir -p $WORKDIR
cd "$WORKDIR"
if [ -n "$ANYPKGS" ]; then