Reuse build dir

This commit is contained in:
2024-11-18 09:55:48 -05:00
parent cabd3aca8b
commit a75505f467

View File

@@ -380,13 +380,13 @@ make_images() {
debug "${FUNCNAME[0]}"
# Reuse the existing output
if [[ -d "$BINDIR" ]]; then
if ask_ok "$BINDIR exists. Rebuild?"; then
execute rm -rf "$BINDIR"
else
return 0
fi
fi
# if [[ -d "$BINDIR" ]]; then
# if ask_ok "$BINDIR exists. Rebuild?"; then
# execute rm -rf "$BINDIR"
# else
# return 0
# fi
# fi
debug make image BIN_DIR="$BINDIR" \
PROFILE="$DEVICE" PACKAGES="$PACKAGES" \