File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ php_band_pecl_build_extension() {
187187 local ext_channel=" $1 "
188188 local user_input=" ${2} "
189189 log_info " Building pecl extension ${ext_channel} "
190- echo " ${user_input} " | ${php_band_php_install_dir} /bin/pecl install " ${ext_channel} " # > /dev/null
191- [ -z $? ] || log_info " Extension building failed"
190+ echo " ${user_input} " | ${php_band_php_install_dir} /bin/pecl install " ${ext_channel} " > /dev/null
191+ [ $? -eq 0 ] || log_info " Extension building failed"
192192}
193193
194194php_band_pecl_build () {
@@ -197,7 +197,7 @@ php_band_pecl_build() {
197197 for pecl_channel in ${! PHP_BAND_CUSTOM_PECL_EXTENSIONS[*]} ; do
198198 echo " Pecl extension $pecl_channel requested"
199199 cd " $cwd "
200- custom_build_pecl_extension " $pecl_channel " " ${PHP_BAND_CUSTOM_PECL_EXTENSIONS[${pecl_channel}]} "
200+ php_band_pecl_build_extension " $pecl_channel " " ${PHP_BAND_CUSTOM_PECL_EXTENSIONS[${pecl_channel}]} "
201201 done
202202 cd " $cwd "
203203}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ load test_helper
44
55@test " Call php-band with query version argument" {
66 run bin/php-band --version
7- assert_output " 0.2 .0"
7+ assert_output " 0.3 .0"
88 assert_success
99}
1010
You can’t perform that action at this time.
0 commit comments