summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorFrancois Charette <francois@archlinux.org>2009-07-20 11:41:35 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-20 18:42:59 +0200
commit0f54cbe863f057eb197476c24e693441414e8c67 (patch)
treec27107c466fb3a6e86731375cf3ce91b32ad408a /db-update
parent2b3b2eb5791e16a4c6086516cd1df37ed7305d8d (diff)
downloaddbscripts-0f54cbe863f057eb197476c24e693441414e8c67.tar.gz
dbscripts-0f54cbe863f057eb197476c24e693441414e8c67.tar.xz
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>
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index ba8c3b5..67f8782 100755
--- a/db-update
+++ b/db-update
@@ -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: