summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-21 00:36:21 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-21 00:36:21 -0400
commit39eb3c90a2c021dc750467360e07a6dadf7bcbb2 (patch)
tree1c9842001253549ad7b011291fbc4fe72e3a5cfa
parent8e2d2c6df75a992cf65ab24e7f97de9a9f04174c (diff)
Make sure to cleanup WORKDIR on exit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-move2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-move b/db-move
index cb559d2..f8adfc1 100755
--- a/db-move
+++ b/db-move
@@ -37,7 +37,7 @@ LOCKFILE="/tmp/.repolck.$arch.$reponame"
cleanup() {
# unlock
rm -f "$LOCKFILE"
- #rm -rf "$WORKDIR"
+ rm -rf "$WORKDIR"
[ "$1" ] && exit $1
}