mirror of
https://github.com/gwenhael-le-moine/npm2tgz.git
synced 2024-12-25 09:58:40 +01:00
typo, missing $
This commit is contained in:
parent
b7665b2df1
commit
237b695fc1
1 changed files with 1 additions and 1 deletions
2
npm2tgz
2
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
|
||||
|
|
Loading…
Reference in a new issue