diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:41:49 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:35:22 -0400 |
commit | 2bef2e60ca21c9efbd5ceaa90b69e96e38ef8f49 (patch) | |
tree | b4c8f073feffc826657ef576e004d93b3708eb5b /configure | |
parent | 01b301e249fead132a30265914658cf6a6d7caa2 (diff) | |
download | ntcon-2bef2e60ca21c9efbd5ceaa90b69e96e38ef8f49.tar.bz2 ntcon-2bef2e60ca21c9efbd5ceaa90b69e96e38ef8f49.tar.xz |
build system: use `grep -q` instead of `grep > /dev/null`.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -277,19 +277,19 @@ native_defaults() fi if [ -z "$mb_compiler" ]; then - $mb_native_cc -dM -E - < /dev/null | grep '__clang__' > /dev/null && mb_compiler='clang' + $mb_native_cc -dM -E - < /dev/null | grep -q '__clang__' && mb_compiler='clang' fi if [ -z "$mb_compiler" ]; then - $mb_native_cc -dM -E - < /dev/null | grep '__GCC' > /dev/null && mb_compiler='gcc' + $mb_native_cc -dM -E - < /dev/null | grep -q '__GCC' && mb_compiler='gcc' fi if [ -z "$mb_compiler" ]; then - $mb_native_cc -dM -E - < /dev/null | grep "^gcc" > /dev/null && mb_compiler='gcc' + $mb_native_cc -dM -E - < /dev/null | grep -q "^gcc" && mb_compiler='gcc' fi if [ -z "$mb_compiler" ]; then - $mb_native_cc -dM -E - < /dev/null | grep '__CPARSER__' > /dev/null && mb_compiler='cparser' + $mb_native_cc -dM -E - < /dev/null | grep -q '__CPARSER__' && mb_compiler='cparser' fi if [ -z "$mb_compiler" ]; then |