Skip to content

Commit bc9f2da

Browse files
committed
use sudo only if make install fails
1 parent e71e46b commit bc9f2da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install-development

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ ${PHPIZE_BIN}
162162

163163
make -j"$(getconf _NPROCESSORS_ONLN)"
164164

165-
make test CFLAGS="-O0 -g" NO_INTERACTION=1
165+
make test NO_INTERACTION=1
166166

167167
echo
168168

169-
sudo make install
169+
make install || sudo make install
170170

171171
echo
172172

0 commit comments

Comments
 (0)