File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 1c14d36e72a9fe35470094fc52ef078f53f645df
5
+ refs/heads/try: 341f41422098eb8f2ea0efa0ebc82e1f09f5f48b
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ if [ $CFG_OSTYPE = Darwin -a $CFG_CPUTYPE = i386 ]
198
198
then
199
199
# Darwin's `uname -s` lies and always returns i386. We have to use sysctl
200
200
# instead.
201
- if sysctl hw.optional.x86_64 | grep ' : 1'
201
+ if sysctl hw.optional.x86_64 | grep -q ' : 1'
202
202
then
203
203
CFG_CPUTYPE=x86_64
204
204
fi
391
391
392
392
if [ ! -z " $CFG_PERF " ]
393
393
then
394
- HAVE_PERF_LOGFD=` $CFG_PERF stat --log-fd 2>&1 | grep ' unknown option' `
394
+ HAVE_PERF_LOGFD=` $CFG_PERF stat --log-fd 2>&1 | grep -q ' unknown option' `
395
395
if [ -z " $HAVE_PERF_LOGFD " ];
396
396
then
397
397
CFG_PERF_WITH_LOGFD=1
You can’t perform that action at this time.
0 commit comments