scripts: improve shebang compatibility
This commit is contained in:
parent
1da421150c
commit
28d18d3e73
3
build
3
build
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
ORG_PATH="github.com/appc"
|
ORG_PATH="github.com/appc"
|
||||||
REPO_PATH="${ORG_PATH}/cni"
|
REPO_PATH="${ORG_PATH}/cni"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NETCONFPATH=${NETCONFPATH-/etc/cni/net.d}
|
NETCONFPATH=${NETCONFPATH-/etc/cni/net.d}
|
||||||
|
|
||||||
|
3
test
3
test
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -e
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Run all CNI tests
|
# Run all CNI tests
|
||||||
# ./test
|
# ./test
|
||||||
@ -7,6 +7,7 @@
|
|||||||
# Run tests for one package
|
# Run tests for one package
|
||||||
# PKG=./plugins/ipam/dhcp ./test
|
# PKG=./plugins/ipam/dhcp ./test
|
||||||
#
|
#
|
||||||
|
set -e
|
||||||
|
|
||||||
source ./build
|
source ./build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user