mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
update scripts because --version exits 1
This commit is contained in:
@@ -24,7 +24,7 @@ trap 'rm -rf "$FAKE_TMPDIR" >/dev/null 2>&1' 0
|
||||
echo "Building a fake release in $FAKE_TMPDIR."
|
||||
|
||||
# Make sure dev bundle exists.
|
||||
./meteor --version || exit 1
|
||||
./meteor --version 2>&1 | grep Unreleased
|
||||
|
||||
# Start out with just the dev bundle.
|
||||
cp -a dev_bundle "$FAKE_TMPDIR/meteor"
|
||||
|
||||
@@ -22,7 +22,7 @@ fi
|
||||
echo "Setting up tools tree in $TARGET_DIR"
|
||||
|
||||
# make sure dev bundle exists before trying to install
|
||||
./meteor --version || exit 1
|
||||
./meteor --version 2>&1 | grep Unreleased
|
||||
|
||||
function CPR {
|
||||
tar -c --exclude .meteor/local "$1" | tar -x -C "$2"
|
||||
|
||||
@@ -47,7 +47,7 @@ set -e -x
|
||||
if [ "$TEST_WAREHOUSE_DIR" ]; then
|
||||
$METEOR --version | grep $TEST_RELEASE >> $OUTPUT
|
||||
else
|
||||
$METEOR --version | grep checkout >> $OUTPUT
|
||||
$METEOR --version 2>&1 | grep checkout >> $OUTPUT
|
||||
fi
|
||||
|
||||
echo "... --help"
|
||||
|
||||
Reference in New Issue
Block a user