Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_distclean() {
	if [ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ]; then
		build_fileop rm "${WORKDIR}/${PKG_BUILD_DIR}";
		build_fileop mkdir "${WORKDIR}/${PKG_BUILD_DIR}";
	fi;
};

# vim:filetype=sh