From 09f5a4b486f4ebd93cdf9efde78906d85ab164e2 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 29 Jun 2015 11:43:25 -0700 Subject: [PATCH] set -e in fb_compile_mongo.sh Summary: Based on @anthony's feedback, we want to fail early if our static linking fails. Test Plan: none Reviewers: anthony Reviewed By: anthony Subscribers: dhruba, anthony, leveldb Differential Revision: https://reviews.facebook.net/D40839 --- build_tools/fb_compile_mongo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_tools/fb_compile_mongo.sh b/build_tools/fb_compile_mongo.sh index 38db7b5e1..c087f8161 100755 --- a/build_tools/fb_compile_mongo.sh +++ b/build_tools/fb_compile_mongo.sh @@ -1,5 +1,8 @@ #!/bin/sh +# fail early +set -e + if test -z $ROCKSDB_PATH; then ROCKSDB_PATH=~/rocksdb fi