ctdb-build: Check the return value of RUN_COMMAND
commitdd1f23dc682c2e45950905cc4c13d032aef83698
authorAmitay Isaacs <amitay@gmail.com>
Tue, 8 Jul 2014 01:40:52 +0000 (8 11:40 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 8 Jul 2014 08:17:54 +0000 (8 10:17 +0200)
tree1be7e2f92d583e50cf08a5610bda295418af278e
parente118a36c4ce8299e270278e27c3a5f5f9afb0049
ctdb-build: Check the return value of RUN_COMMAND

RUN_COMMAND does not raise exceptions if the command fails, but returns
non-zero status.  Ensure that make terminates with non-zero status if
RUN_COMMAND fails.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/wscript