mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-25 13:13:08 +00:00
pgbuild.sh: halt if a subcommand fails
This is helpful when first setting up a build machine, just in case build dependencies are missing.
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
#
|
||||
# 2) installs postgres to REPO_ROOT/tmp_install/
|
||||
#
|
||||
|
||||
# Halt immediately if any command fails
|
||||
set -e
|
||||
|
||||
REPO_ROOT=$(dirname "$0")
|
||||
REPO_ROOT="`( cd \"$REPO_ROOT\" && pwd )`"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user