aboutsummaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authorayleph <ayleph@thisshitistemp.com>2015-03-10 23:39:18 -0700
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-04-22 17:18:35 -0500
commitdcd8c8348a39dbe1c1e73f94517ceff4e012f531 (patch)
tree92adb70b5c9689b06396a99f98ede59841295439 /devtools
parentef2642f7bba3dd61ec2a0b2a2e3a8237e7d9dd1e (diff)
downloadmediagoblin-dcd8c8348a39dbe1c1e73f94517ceff4e012f531.tar.lz
mediagoblin-dcd8c8348a39dbe1c1e73f94517ceff4e012f531.tar.xz
mediagoblin-dcd8c8348a39dbe1c1e73f94517ceff4e012f531.zip
Redirect which stderr to /dev/null
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";