diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 03:58:14 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 03:58:14 +0000 |
commit | 61157302e0041eddd9f87720b4282c2e8f071f70 (patch) | |
tree | cff661853c58cf0f16432d9088500eb90173b4f7 | |
parent | bd6eba4b100a068999822f1c54933adf55fa75e9 (diff) | |
download | midipix_build-61157302e0041eddd9f87720b4282c2e8f071f70.tar.bz2 midipix_build-61157302e0041eddd9f87720b4282c2e8f071f70.tar.xz |
subr/pkg_build_dir.subr: create ${PKG_BUILD_DIR} if non-existent.
-rw-r--r-- | subr/pkg_build_dir.subr | 3 |
1 files changed, 3 insertions, 0 deletions
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; }; |