From 6c9e294d8c77e5c2853dd712e5243ce999be2063 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 12 Jan 2016 11:01:49 +0100 Subject: [PATCH] thourough Signed-off-by: Gwenhael Le Moine --- npm2tgz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm2tgz b/npm2tgz index 99e0b8c..b7928e5 100755 --- a/npm2tgz +++ b/npm2tgz @@ -66,7 +66,7 @@ mkdir -p $PKG DESTDIR=$PKG npm install -g $PRGNAM -VERSION=$(grep -i "\"version\": \"\(.*\)\"" $PKG${NPMROOT}/$PRGNAM/package.json | sed 's|^[ ]*"version": "\(.*\)",$|\1|g') +VERSION=$(grep -i "\"version\": \"\(.*\)\"" $PKG${NPMROOT}/$PRGNAM/package.json | sed 's|^[ ]*"version": "\(.*\)"|\1|g') DESCRIPTION=$(grep -i "\"description\": \"\(.*\)\"," $PKG${NPMROOT}/$PRGNAM/package.json | sed 's|^[ ]*"description": "\(.*\)",$|\1|g') HOMEPAGE=$(grep -i "\"homepage\": \"\(.*\)\"," $PKG${NPMROOT}/$PRGNAM/package.json | sed 's|^[ ]*"homepage": "\(.*\)",$|\1|g')