Skip to content

Commit

Permalink
Better choice.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Nov 30, 2023
1 parent 0d3cdcb commit a087a82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/lib/bashy-basics/buildy-help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ function satisfy-all-targets {
|| (( errors++ ))
done

info-msg
progress-msg

if (( ${errors} != 0 )); then
plural=''
if (( ${errors} != 1 )); then
plural='s'
fi
info-msg "${errors} error${plural}."
info-msg 'Alas.'
progress-msg "${errors} error${plural}."
progress-msg 'Alas.'
return 1
fi

info-msg 'No errors. Done!'
progress-msg 'No errors. Done!'
}

# "Satisfies" a given target. If it's already been built, does nothing other
Expand Down

0 comments on commit a087a82

Please sign in to comment.