Redirect which stderr to /dev/null

This commit is contained in:
ayleph 2015-03-10 23:39:18 -07:00 committed by Christopher Allan Webber
parent ef2642f7bb
commit dcd8c8348a

View File

@ -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";