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]}" debug "${FUNCNAME[0]}"
# Reuse the existing output # Reuse the existing output
if [[ -d "$BINDIR" ]]; then # if [[ -d "$BINDIR" ]]; then
if ask_ok "$BINDIR exists. Rebuild?"; then # if ask_ok "$BINDIR exists. Rebuild?"; then
execute rm -rf "$BINDIR" # execute rm -rf "$BINDIR"
else # else
return 0 # return 0
fi # fi
fi # fi
debug make image BIN_DIR="$BINDIR" \ debug make image BIN_DIR="$BINDIR" \
PROFILE="$DEVICE" PACKAGES="$PACKAGES" \ PROFILE="$DEVICE" PACKAGES="$PACKAGES" \