Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/ecosystem-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# branch (recorded below + in each binding's compose-order.txt). WORKDIR defaults to a $HOME
# path (NEVER /tmp — it is reaped).
set -euo pipefail
# A command substitution runs with errexit too, as in refresh-binding.sh.
shopt -s inherit_errexit

PIN_REF="${1:?usage: ecosystem-generate.sh <pin-tag|sha> [workdir]}"
WORK="${2:-$HOME/ecosystem-gen}"
Expand Down
2 changes: 2 additions & 0 deletions tools/provision-meos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
# catalog-path=<abs path to meos-idl.json>
# libmeos-prefix=<abs runtime prefix, or empty when --build-libmeos is not given>
set -euo pipefail
# A command substitution runs with errexit too, as in refresh-binding.sh.
shopt -s inherit_errexit

usage() { sed -n '2,/^set -euo/{/^set -euo/d;s/^# \{0,1\}//;p;}' "$0"; }

Expand Down
4 changes: 4 additions & 0 deletions tools/refresh-binding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
# --force Rebuild libmeos even when the MobilityDB commit is unchanged.
# -h, --help
set -euo pipefail
# A command substitution runs with errexit too, so a step that fails inside one stops the
# refresh: resolve_repo's fetch of a ref the remote does not have would otherwise leave the
# earlier checkout in place and the refresh would derive from it.
shopt -s inherit_errexit

usage() { sed -n '2,/^set -euo/{/^set -euo/d;s/^# \{0,1\}//;p;}' "$0"; }

Expand Down
Loading