diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-21 06:36:21 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-21 06:36:21 +0200 |
commit | 39eb3c90a2c021dc750467360e07a6dadf7bcbb2 (patch) | |
tree | 1c9842001253549ad7b011291fbc4fe72e3a5cfa /db-move | |
parent | 8e2d2c6df75a992cf65ab24e7f97de9a9f04174c (diff) | |
download | dbscripts-39eb3c90a2c021dc750467360e07a6dadf7bcbb2.tar.gz dbscripts-39eb3c90a2c021dc750467360e07a6dadf7bcbb2.tar.xz |
Make sure to cleanup WORKDIR on exit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-move')
-rwxr-xr-x | db-move | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ LOCKFILE="/tmp/.repolck.$arch.$reponame" cleanup() { # unlock rm -f "$LOCKFILE" - #rm -rf "$WORKDIR" + rm -rf "$WORKDIR" [ "$1" ] && exit $1 } |