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-functions | |
parent | ff0745c50507f0cea48dbf97b8f55734698e3c13 (diff) | |
download | dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz |
use common workdir
Diffstat (limited to 'db-functions')
-rw-r--r-- | db-functions | 4 |
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 |