diff options
author | Francois Charette <francois@archlinux.org> | 2009-07-20 11:41:35 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-20 09:42:59 -0700 |
commit | 0f54cbe863f057eb197476c24e693441414e8c67 (patch) | |
tree | c27107c466fb3a6e86731375cf3ce91b32ad408a | |
parent | 2b3b2eb5791e16a4c6086516cd1df37ed7305d8d (diff) |
Fix final "cleanup" to avoid spurious error msg
* When calling cleanup at the end of db-update, the function
repo_unlock is called, but the repo-locks have already been unlocked!
So we get a spurious error message. This commit replaces "cleanup" by
"rm -rf $WORKDIR".
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | db-update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,5 +231,5 @@ done if [ -n "$to_add_any" ]; then /bin/rm $to_add_any fi -cleanup +rm -rf $WORKDIR # vim: set ts=4 sw=4 noet ft=sh: |