midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# . ./build.vars and set -o errexit -o noglob are assumed.
# See warning at the top of build.vars.
#

pkg_build_dir() {
	if [ -z "${PKG_BUILD_DIR}" ]; then
		set_build_dir ${PKG_SUBDIR} ${PKG_BUILD_TYPE:-native};
	fi;
	[ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ] &&\
		secure_rm ${PKG_BUILD_DIR};
		insecure_mkdir ${PKG_BUILD_DIR};
	set_build_script_done build_dir -patch_pre;
};

# vim:filetype=sh