typo, missing $

This commit is contained in:
Gwenhael Le Moine 2014-10-27 11:42:20 +01:00
parent b7665b2df1
commit 237b695fc1

View file

@ -39,7 +39,7 @@ OUTPUT=${OUTPUT:=/tmp}
ARCH=${ARCH:=npmjs}
PREFIX=${PREFIX:=/usr}
NPMBIN=${NPMBIN:=/usr/bin/npm}
NPMROOT=${NPMROOT:-$(NPMBIN -g root)}
NPMROOT=${NPMROOT:-$($NPMBIN -g root)}
[ ! -x $NPMBIN ] && echo "npm missing" && exit 1
if [ "x$1" == "x" ] || [ "x$1" == "x--help" ] || [ "x$1" == "x-h" ]; then