#
# set -o errexit -o noglob are assumed.
#

pkg_setup_distclean() {
	if [ "$(stat -c %i "${PKG_BASE_DIR}")"	\
	!=   "$(stat -c %i "${WORKDIR}")" ]; then
		build_fileop rm "${PKG_BASE_DIR}";
	fi;
};

# vim:filetype=sh