From 237b695fc1219e61d1c815a9e70e99e8ca5f525a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 27 Oct 2014 11:42:20 +0100 Subject: [PATCH] typo, missing $ --- npm2tgz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm2tgz b/npm2tgz index 45fdcf3..8e63b2e 100755 --- a/npm2tgz +++ b/npm2tgz @@ -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