File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ def configure_emscripten_python(context, working_dir):
248
248
249
249
# Macs come with FreeBSD coreutils which doesn't have the -s option
250
250
# so feature detect and work around it.
251
- if which grealpath > /dev/null; then
251
+ if which grealpath > /dev/null 2>&1 ; then
252
252
# It has brew installed gnu core utils, use that
253
253
REALPATH="grealpath -s"
254
- elif which realpath > /dev/null && realpath --version > /dev/null 2> /dev/null && realpath --version | grep GNU > /dev/null; then
254
+ elif which realpath > /dev/null 2>&1 && realpath --version > /dev/null 2>&1 && realpath --version | grep GNU > /dev/null 2>&1 ; then
255
255
# realpath points to GNU realpath so use it.
256
256
REALPATH="realpath -s"
257
257
else
You can’t perform that action at this time.
0 commit comments