From 85488718186e22bc322fa24a67deb0dbdfaf2877 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 27 Jan 2012 05:08:16 -0500 Subject: Fix cleanup in opkbuild's error handling. --- 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 } -- cgit v0.9.1