summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-12 11:13:50 +0200
committerRemi Collet <remi@remirepo.net>2017-06-12 11:13:50 +0200
commitb5718449b035acfcb9020cb0abf4c379b35fbcc2 (patch)
tree6dbe650382573de52b3160adad31d5d07fd03814
parenta771831534f34e2bb5f7ab481f4a8a7550a843d2 (diff)
typo
-rw-r--r--php-sabre-http.spec2
1 files changed, 1 insertions, 1 deletions
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