From b5718449b035acfcb9020cb0abf4c379b35fbcc2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Jun 2017 11:13:50 +0200 Subject: typo --- php-sabre-http.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-sabre-http.spec b/php-sabre-http.spec index 06102d6..84d11ad 100644 --- a/php-sabre-http.spec +++ b/php-sabre-http.spec @@ -124,7 +124,7 @@ cd tests : Run upstream test suite against installed library ret=0 for cmd in php php56 php70 php71 php72; do - if which php71; then + if which $cmd; then $cmd %{_bindir}/phpunit --bootstrap=%{buildroot}%{_datadir}/php/Sabre/HTTP/autoload.php --verbose || ret=1 fi done -- cgit