Conan_Kudo / 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) bd97b6
		build_fileop rm ${PKG_BUILD_DIR};
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		build_fileop mkdir ${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