From c974466c42fef606fda68662a140704b85a21fef Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 28 Dec 2014 23:20:32 -0500 Subject: [PATCH] Fix problem when source (build) directory is not present --- functions/ipkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/ipkg b/functions/ipkg index 428dabc..ca159bd 100644 --- a/functions/ipkg +++ b/functions/ipkg @@ -214,7 +214,9 @@ ipkg_script() hvconfig_post fi - cd ${BUILD_DIR} + if [ -d ${BUILD_DIR} ]; then + cd ${BUILD_DIR} + fi hvbuild # Execute post-build function if applicable -- 2.20.1