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):
248248
249249 # Macs come with FreeBSD coreutils which doesn't have the -s option
250250 # so feature detect and work around it.
251- if which grealpath > /dev/null; then
251+ if which grealpath > /dev/null 2>&1 ; then
252252 # It has brew installed gnu core utils, use that
253253 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
255255 # realpath points to GNU realpath so use it.
256256 REALPATH="realpath -s"
257257 else
You can’t perform that action at this time.
0 commit comments