Explorar o código

scripts: set compatible shebang

Stefan Junker %!s(int64=9) %!d(string=hai) anos
pai
achega
96ed17012d
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 1
      build
  2. 2 1
      test

+ 2 - 1
build

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

+ 2 - 1
test

@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/usr/bin/env bash
 #
 # Run all go-iptables tests
 #   ./test
@@ -8,6 +8,7 @@
 #   PKG=./unit ./test
 #   PKG=ssh ./test
 #
+set -e
 
 # Invoke ./cover for HTML output
 COVER=${COVER:-"-cover"}