From e0b98958be9402af89dd081b54f1ab25740cf294 Mon Sep 17 00:00:00 2001
From: ayleph <ayleph@thisshitistemp.com>
Date: Tue, 10 Mar 2015 23:39:18 -0700
Subject: [PATCH] Redirect which stderr to /dev/null
---
devtools/update_extlib.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/devtools/update_extlib.sh b/devtools/update_extlib.sh
index b94f007..52ac775 100755
a
|
b
|
set -e
|
21 | 21 | |
22 | 22 | # Make sure we have npm available |
23 | 23 | |
24 | | if ! which npm > /dev/null; then |
| 24 | if ! which npm > /dev/null 2>&1; then |
25 | 25 | echo "Can't find npm, no way to install extlib :("; |
26 | 26 | exit 1; |
27 | 27 | fi |
28 | 28 | |
29 | 29 | # Install bower if need be |
30 | | if which bower > /dev/null; then |
| 30 | if which bower > /dev/null 2>&1; then |
31 | 31 | BOWER=`which bower`; |
32 | 32 | elif [ -f ./node_modules/.bin/bower ]; then |
33 | 33 | BOWER="./node_modules/.bin/bower"; |