midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

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
		build_fileop mkdir "${PKG_BUILD_DIR}";
	fi;
	build_fileop cd "${PKG_BUILD_DIR}";
};

# vim:filetype=sh