fix check

This commit is contained in:
Remi Collet 2023-10-23 08:12:55 +02:00
parent 9e9f2023e3
commit 29954ff60e

View File

@ -180,6 +180,11 @@ done
: check if provided config file is usable
%{__php} \
--no-php-ini \
-d extension_dir=%{buildroot}%{php_extdir} \
-c %{buildroot}%{php_inidir}/%{ini_name} -v
%{__php} \
--no-php-ini \
-d extension_dir=%{buildroot}%{php_extdir} \
-c %{buildroot}%{php_inidir}/%{ini_name} -v 2>err.log \
| grep 'with Xdebug v%{upstream_version}%{?upstream_prever}'
if [ -s err.log ]; then