Merge pull request #101 from steveeJ/shebangs

scripts: improve shebang compatibility
This commit is contained in:
Stefan Junker 2016-01-27 10:51:32 +01:00
commit 59f8bb361a
3 changed files with 5 additions and 3 deletions

3
build
View File

@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
ORG_PATH="github.com/appc"
REPO_PATH="${ORG_PATH}/cni"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
NETCONFPATH=${NETCONFPATH-/etc/cni/net.d}

3
test
View File

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash
#
# Run all CNI tests
# ./test
@ -7,6 +7,7 @@
# Run tests for one package
# PKG=./plugins/ipam/dhcp ./test
#
set -e
source ./build