From: Hugo Villeneuve Date: Mon, 29 Dec 2014 04:20:32 +0000 (-0500) Subject: Fix problem when source (build) directory is not present X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c974466c42fef606fda68662a140704b85a21fef;p=hvlinux.git Fix problem when source (build) directory is not present --- 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