diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-08 12:36:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 12:36:06 -0400 |
commit | b8acc851bb472c7ea9674bf1bf8ca3812ff2ab24 (patch) | |
tree | 383a0cd2440c4ec8d8b630008b2d36efa99872bb /hack | |
parent | 2869cce1d53aedfe2500f3d921fb901dd5994690 (diff) | |
parent | a5facca78fed010552339a6644dd8ef1bb0fa229 (diff) | |
download | podman-b8acc851bb472c7ea9674bf1bf8ca3812ff2ab24.tar.gz podman-b8acc851bb472c7ea9674bf1bf8ca3812ff2ab24.tar.bz2 podman-b8acc851bb472c7ea9674bf1bf8ca3812ff2ab24.zip |
Merge pull request #6515 from vrothberg/v2-enable-ubuntu
V2 enable ubuntu
Diffstat (limited to 'hack')
-rwxr-xr-x | hack/install_bats.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hack/install_bats.sh b/hack/install_bats.sh new file mode 100755 index 000000000..00ded07a9 --- /dev/null +++ b/hack/install_bats.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -e + +die() { echo "${1:-No error message given} (from $(basename $0))"; exit 1; } + +buildDir=$(mktemp -d) +git clone https://github.com/bats-core/bats-core $buildDir + +pushd $buildDir +pwd +git reset --hard ${VERSION} +./install.sh /usr/local +popd + +rm -rf $buildDir |