From 61157302e0041eddd9f87720b4282c2e8f071f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 3 Feb 2017 03:58:14 +0000 Subject: subr/pkg_build_dir.subr: create ${PKG_BUILD_DIR} if non-existent. --- subr/pkg_build_dir.subr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subr/pkg_build_dir.subr b/subr/pkg_build_dir.subr index 86ead38b..abb852f9 100644 --- a/subr/pkg_build_dir.subr +++ b/subr/pkg_build_dir.subr @@ -7,6 +7,9 @@ pkg_build_dir() { if [ -z "${PKG_BUILD_DIR}" ]; then set_build_dir ${PKG_SUBDIR} ${PKG_BUILD_TYPE:-native}; fi; + if [ ! -d "${PKG_BUILD_DIR}" ]; then + insecure_mkdir ${PKG_BUILD_DIR}; + fi; set_build_script_done build_dir -patch_pre; }; -- cgit v1.2.3