mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't hard-code meteor install directory in find-new-npm-versions.sh
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
cat generate-dev-bundle.sh | grep "npm install" | sed "s/npm install //" | sed "s/@.*//" | while read PACKAGE
|
||||
do
|
||||
CURRENT_VERSION=`cat generate-dev-bundle.sh | grep "npm install $PACKAGE" | sed "s/npm install //" | sed "s/.*@//"`
|
||||
LATEST_VERSION=`~/meteor/dev_bundle/bin/npm info $PACKAGE version 2> /dev/null`
|
||||
LATEST_VERSION=`../dev_bundle/bin/npm info $PACKAGE version 2> /dev/null`
|
||||
if [ "$CURRENT_VERSION" != "$LATEST_VERSION" ]
|
||||
then
|
||||
echo "$PACKAGE -- current version: $CURRENT_VERSION, latest version: $LATEST_VERSION"
|
||||
|
||||
Reference in New Issue
Block a user