Skip to content

Commit 80bfdf1

Browse files
authored
Merge pull request #11 from sjinks/development
use `sudo` only if `make install` fails
2 parents 06dec89 + bc9f2da commit 80bfdf1

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)