blob: 5adecf1115eec7ae93be3863ed74dbf9eb1f8a15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
# file : tests/package-archive/driver.in
# license : MIT; see accompanying LICENSE file
# bpkg utility path.
#
bpkg_util_bpkg=bpkg
trap "{ exit 1; }" ERR
set -o errtrace # Trap in functions and subshells.
set -o pipefail # Fail if any pipeline command fails.
shopt -s lastpipe # Execute last pipeline command in the current shell.
shopt -s nullglob # Expand no-match globs to nothing rather than themselves.
@import bpkg-util/package-archive@
# Call the function passed on the command line.
#
"$@"
|