summaryrefslogtreecommitdiffstats
path: root/src/opkbuild
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-27 05:08:16 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-27 05:08:16 (EST)
commit85488718186e22bc322fa24a67deb0dbdfaf2877 (patch)
tree1cd5b78ea1e71173a2b0530fadf2ca34f48f263a /src/opkbuild
parent45adc0935c3d54c39356e6d1d56a09ce509effb4 (diff)
Fix cleanup in opkbuild's error handling.
Diffstat (limited to 'src/opkbuild')
-rw-r--r--src/opkbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 10d5c6e..e9b1f3f 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -29,6 +29,7 @@ print_usage()
error()
{
printf 'opkbuild: [%s] Error\n' "${1}"
+ cd ..
rm -Rf tmp 2> /dev/null
exit 1
}