summaryrefslogtreecommitdiffstats
path: root/db-move
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 /db-move
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 'db-move')
-rwxr-xr-xdb-move2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-move b/db-move
index 13f2c4e..c8d30c4 100755
--- a/db-move
+++ b/db-move
@@ -27,7 +27,7 @@ svnrepo_to="$repoto-$arch"
[ "$UID" = "" ] && UID=$(uid)
-WORKDIR="/tmp/db-move.$svnrepo_from.$svnrepo_to.$UID"
+WORKDIR="/home/tmp/db-move.$svnrepo_from.$svnrepo_to.$UID"
cleanup() {
# unlock