mirror of
https://github.com/gwenhael-le-moine/npm2tgz.git
synced 2024-12-27 09:58:57 +01:00
thourough
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
11c36da14c
commit
6c9e294d8c
1 changed files with 1 additions and 1 deletions
2
npm2tgz
2
npm2tgz
|
@ -66,7 +66,7 @@ mkdir -p $PKG
|
||||||
|
|
||||||
DESTDIR=$PKG npm install -g $PRGNAM
|
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')
|
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')
|
HOMEPAGE=$(grep -i "\"homepage\": \"\(.*\)\"," $PKG${NPMROOT}/$PRGNAM/package.json | sed 's|^[ ]*"homepage": "\(.*\)",$|\1|g')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue