summaryrefslogtreecommitdiff
path: root/db-functions
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-functions
parentff0745c50507f0cea48dbf97b8f55734698e3c13 (diff)
use common workdir
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-functions b/db-functions
index 2fe7a49..caaf9a0 100644
--- a/db-functions
+++ b/db-functions
@@ -1,7 +1,7 @@
#!/bin/bash
-# Random integrity things
-[ "$UID" = "" ] && UID=$(uid)
+# set up general environment
+WORKDIR=$(mktemp -d /tmp/$(basename $0).XXXXXXXXXX)
# Useful functions