Skip to content

Commit

Permalink
Update scripts shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Kassar committed May 15, 2018
1 parent 2d512c8 commit 645829f
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

$(dirname $0)/build-target
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-image
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

IMAGE_NAME="kassisol/hbm"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

ORIGIN=`pwd`
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

cd $(dirname $0)/..
Expand Down
2 changes: 1 addition & 1 deletion scripts/clean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

cd $(dirname $0)/..
Expand Down
2 changes: 1 addition & 1 deletion scripts/entry
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

mkdir -p bin dist
Expand Down
3 changes: 2 additions & 1 deletion scripts/help
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e

is_not_a_valid() {
local target=$1
Expand Down
2 changes: 1 addition & 1 deletion scripts/image/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

HBM_LIB="/var/lib/hbm"
HBM="/usr/local/sbin/hbm"
Expand Down
2 changes: 1 addition & 1 deletion scripts/image/prebuild.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

ROOTDIR=$(dirname $0)/../..

Expand Down
2 changes: 1 addition & 1 deletion scripts/packages/centos7/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

VERSION=$1
RELEASE=$2
Expand Down
2 changes: 1 addition & 1 deletion scripts/packages/centos7/prebuild.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

ROOTDIR=$(dirname $0)/../../..
cd $(dirname $0)
Expand Down
2 changes: 1 addition & 1 deletion scripts/release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

GITHUB_USER="kassisol"
Expand Down
2 changes: 1 addition & 1 deletion scripts/shell
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# help: Launch shell in build environment

exec bash
2 changes: 1 addition & 1 deletion scripts/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
DIRTY="-dirty"
Expand Down

0 comments on commit 645829f

Please sign in to comment.