summaryrefslogtreecommitdiffstats
path: root/testing2x
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-09-14 03:30:27 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-09-14 03:30:27 +0200
commit42bbb3dd2ef276c5204651fafb152a888c449c15 (patch)
tree301098e0ee86f75fd2a963b8c1e842502c126a7b /testing2x
parenta0f73ceca409fa8995af16eee8440c1467c5f1bf (diff)
downloaddbscripts-42bbb3dd2ef276c5204651fafb152a888c449c15.tar.gz
dbscripts-42bbb3dd2ef276c5204651fafb152a888c449c15.tar.xz
Move temporary directories to /home/tmp
This is to allow moves to /home/ftp/ to remain on the same filesystem, thus making the final moves atomic Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing2x b/testing2x
index c385fd8..687994e 100755
--- a/testing2x
+++ b/testing2x
@@ -13,7 +13,7 @@ case "$0" in
;;
esac
svnpath="file:///home/svn-packages"
-WORKDIR="$(mktemp -d /tmp/testing2x.XXXXXX)"
+WORKDIR="/home/tmp/testing2x.$UID"
cleanup() {
rm -rf "${WORKDIR}"