summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-01 10:44:29 -0600
committerJens Axboe <axboe@kernel.dk>2022-04-01 10:44:29 -0600
commit314dd7ba2aa9d0ba5bb9a6ab28b7204dd319e386 (patch)
tree0102dd2d49fa94c988904c53158cb9d560d85fd8
parent3b52ae980c41b420592e3005199041890a56d6dc (diff)
parent30830bddbfbe9503836bdcb3ed90ec3f945d122d (diff)
downloadliburing-314dd7ba2aa9d0ba5bb9a6ab28b7204dd319e386.tar.gz
liburing-314dd7ba2aa9d0ba5bb9a6ab28b7204dd319e386.tar.bz2
Merge tag 'liburing-2022-05-01' of https://github.com/ammarfaizi2/liburing
Pull a configure script fix from Ammar Faizi: - Allow the configure script to fail with a non-zero exit code. Link: https://github.com/axboe/liburing/pull/553 Link: https://github.com/axboe/liburing/pull/554 * tag 'liburing-2022-05-01' of https://github.com/ammarfaizi2/liburing: configure: Allow the configure script to fail with a non-zero exit code
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 512a556..f2bf041 100755
--- a/configure
+++ b/configure
@@ -1,10 +1,12 @@
#!/bin/sh
+set -e
+
cc=${CC:-gcc}
cxx=${CXX:-g++}
for opt do
- optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)')
+ optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)' || true)
case "$opt" in
--help|-h) show_help=yes
;;