Simplify resetAll()

Este commit está contenido en:
2023-01-13 10:36:20 -05:00
padre d14d8f9eb8
commit 00c70b9da0

Ver fichero

@@ -495,9 +495,7 @@ resetAll() {
debug "${FUNCNAME[0]}"
askOk "Remove ${BUILDROOT}/sources and ${BUILDROOT}/bin?" || exit $?
debug "rm -rf ${BUILDROOT}/sources ${BUILDROOT}/bin"
find "${BUILDROOT}/sources" "${BUILDROOT}/bin" \
! -path "$FILESDIR" -type d -delete +
#rm -rf "${BUILDROOT}/sources" "${BUILDROOT}/bin"
rm -rf "${BUILDROOT:?}/sources" "${BUILDROOT:?}/bin"
}