update scripts because --version exits 1

This commit is contained in:
David Glasser
2013-03-19 20:22:01 -07:00
parent 764b4860ea
commit b7bec5a391
3 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"