Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/pkg_setup_distclean.subr

Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
#
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
#
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
pkg_setup_distclean() {
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
	if [ "$(stat -c %i "${PKG_BASE_DIR}")"	\
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
	!=   "$(stat -c %i "${WORKDIR}")" ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
		build_fileop rm "${PKG_BASE_DIR}";
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
};
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
# vim:filetype=sh