scripts: fix shebangs.

/bin/bash is not an LSB path.
This commit is contained in:
Diego Pontoriero
2018-01-09 17:58:43 -08:00
parent 50e923730e
commit 948bdee165
8 changed files with 14 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
# parse the current git commit hash
COMMIT=`git rev-parse HEAD`
@@ -18,4 +19,4 @@ if [ -n "$(git diff --shortstat 2> /dev/null | tail -n1)" ]; then
VERSION="${VERSION}-dirty"
fi
echo $VERSION
echo $VERSION

View File

@@ -1,5 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash
# USAGE: ./release-files DEST
set -e
DEST=$1

View File

@@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
PKGS=$(go list ./... | grep -v /vendor)
FORMATTABLE=$(ls -d */ | grep -v -E '(vendor/|examples/)')

View File

@@ -1,5 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash
# Travis Deploy Docker Push
set -e
docker info
GOOS=linux make build

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Create a virtual bridge with PXE services and matchbox
# USAGE: ./scripts/devnet create [example]
# USAGE: ./scripts/devnet status

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# USAGE: ./scripts/get-coreos
# USAGE: ./scripts/get-coreos channel version dest
#

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Manage VM nodes which have a specific set of hardware attributes.
VM_MEMORY=${VM_MEMORY:-2048}

View File

@@ -1,5 +1,6 @@
#!/bin/bash -e
#!/usr/bin/env bash
# note: Script uses -batch and -subj, instead of interactive prompts.
set -e
rm -f ca.key ca.crt server.key server.csr server.crt client.key client.csr client.crt index.* serial*
rm -rf certs crl newcerts