FS#5153 - pacman 2.9.8: makepkg does not abort build on syntax error
Attached to Project:
Pacman
Opened by Alexander Baldeck (kth5) - Thursday, 03 August 2006, 13:19 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 16 November 2006, 19:30 GMT
Opened by Alexander Baldeck (kth5) - Thursday, 03 August 2006, 13:19 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 16 November 2006, 19:30 GMT
|
Details
makepkg should abort when there's a syntax error somewhere
in the PKGBUILD, instead it tries to build the package.
sometimes this leads to configure flags to silently being
excluded etc. a simple "set -e" in makepkg would do the
trick.
|
This task depends upon
Closed by Aaron Griffin (phrakture)
Thursday, 16 November 2006, 22:33 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented, but with $SHELLOPT checking to see if it should be reset or not (so we don't corrupt the environment)
Thursday, 16 November 2006, 22:33 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented, but with $SHELLOPT checking to see if it should be reset or not (so we don't corrupt the environment)
Comment by Alexander Baldeck (kth5) -
Thursday, 03 August 2006, 13:24 GMT
patch
makepkg-abort-on-syntax-errro...
(0.3 KiB)