midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/pkg_distclean.subr

Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
pkg_distclean() {
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
	if [ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) d5afb4
		build_fileop rm "${WORKDIR}/${PKG_BUILD_DIR}";
Lucio Andrés Illanes Albornoz (arab, vxp) d5afb4
		build_fileop mkdir "${WORKDIR}/${PKG_BUILD_DIR}";
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
};
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
Lucio Andrés Illanes Albornoz (arab, vxp) 5b02e1
# vim:filetype=sh