aboutsummaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/update_extlib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/update_extlib.sh b/devtools/update_extlib.sh
index b94f0076..52ac7758 100755
--- a/devtools/update_extlib.sh
+++ b/devtools/update_extlib.sh
@@ -21,13 +21,13 @@ set -e
# Make sure we have npm available
-if ! which npm > /dev/null; then
+if ! which npm > /dev/null 2>&1; then
echo "Can't find npm, no way to install extlib :(";
exit 1;
fi
# Install bower if need be
-if which bower > /dev/null; then
+if which bower > /dev/null 2>&1; then
BOWER=`which bower`;
elif [ -f ./node_modules/.bin/bower ]; then
BOWER="./node_modules/.bin/bower";