commit 831d27c4df6412a6e1920341cbe6770a994a5804
parent 2d60f76abfd96bc44531cf3644eea3b16b6bb0f1
Author: ng0 <ng0@n0.is>
Date: Tue, 1 Oct 2019 17:44:58 +0000
redirect stderr to stdout.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
@@ -88,7 +88,7 @@ else
fi
if existence yarn; then
- if yarn help | grep "No such file or directory"; then
+ if yarn help 2>&1 | grep "No such file or directory"; then
echo "ERROR: wrong yarn binary installed, please remove the"
echo "ERROR: conflicting binary before continuing."
if existence cmdtest; then