Repository navigation
Commit 919991e
phpize: Fail when build files cannot be copied
Both cp calls run in subshells with no status check, and
phpize_copy_files is called unconditionally, so phpize exits 0 even when
the copy fails. The extension is then configured with stale files left
over from a previous run. After a PHP upgrade in place, this silently
builds against the previous PHP's php.m4, Makefile.global and
run-tests.php.
Propagate the failure with "|| exit 1", matching the style already used
in phpize_autotools().1 parent b30ea5e commit 919991e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments