annexi-strayline / AURA

The AURA Reference Implementation
BSD 3-Clause "New" or "Revised" License
22 stars 0 forks source link

Exit build.sh immediately if there's an error #8

Closed mndrix closed 3 years ago

mndrix commented 3 years ago

While building AURA on OpenBSD, the command "gcc -c *.c" failed. Instead of halting execution immediately so that I could fix the problem, build.sh kept going. I only noticed the initial failure after gnatmake compiled a bunch of other files and then couldn't find a .o file it needed. It would have been cool if build.sh had stopped early, right when something went wrong.

Richard-Wai commented 3 years ago

Excellent point, thanks for that!