Skip to content

Commit 73b4061

Browse files
authored
build: ingore exit codes from diagnostic tools (#66)
1 parent e9ca26b commit 73b4061

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ CB_PHP_PREFIX = ENV.fetch("CB_PHP_PREFIX", DEFAULT_PHP_PREFIX)
7272
CB_CC = ENV.fetch("CB_CC", default_cc)
7373
CB_CXX = ENV.fetch("CB_CXX", default_cxx)
7474

75-
run("#{CB_PHP_PREFIX}/bin/php --version")
76-
run("#{CB_PHP_PREFIX}/bin/php --ini")
77-
run("#{CB_PHP_PREFIX}/bin/php-config")
75+
run("#{CB_PHP_PREFIX}/bin/php --version || true")
76+
run("#{CB_PHP_PREFIX}/bin/php --ini || true")
77+
run("#{CB_PHP_PREFIX}/bin/php-config || true")
7878

7979
LOCAL_OPENSSL="/usr/local/openssl"
8080
CB_OPENSSL_ROOT = ENV.fetch("CB_OPENSSL_ROOT", File.directory?(LOCAL_OPENSSL) ? LOCAL_OPENSSL : nil)

0 commit comments

Comments
 (0)