mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: php: Fix typo.
Regression introduced in e8cfce439a
.
* gnu/packages/php.scm (php)[arguments]: Add missing 'else' branch of
the 'if'. Change first argument to 'string-prefix?' to match GNU
triplets as well.
This commit is contained in:
parent
46fc7cafcf
commit
9398152ad1
1 changed files with 4 additions and 3 deletions
|
@ -182,8 +182,8 @@ (define-public php
|
|||
(substitute* "ext/standard/tests/streams/bug60602.phpt"
|
||||
(("'ls'") (string-append "'" (which "ls") "'")))
|
||||
|
||||
,@(if (string-prefix? "armhf" (or (%current-system)
|
||||
(%current-target-system)))
|
||||
,@(if (string-prefix? "arm" (or (%current-system)
|
||||
(%current-target-system)))
|
||||
;; Drop tests known to fail on armhf.
|
||||
'((for-each delete-file
|
||||
(list
|
||||
|
@ -191,7 +191,8 @@ (define-public php
|
|||
;; arm can be a lot slower, so a time-related test fails
|
||||
"ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
|
||||
"ext/pcre/tests/bug76514.phpt"
|
||||
"ext/pcre/tests/preg_match_error3.phpt"))))
|
||||
"ext/pcre/tests/preg_match_error3.phpt")))
|
||||
'())
|
||||
|
||||
;; Drop tests that are known to fail.
|
||||
(for-each delete-file
|
||||
|
|
Loading…
Reference in a new issue