diff --git a/contrib/zsh-completion/install.sh b/contrib/zsh-completion/install.sh index 492b58cf00..ccb36aaf78 100755 --- a/contrib/zsh-completion/install.sh +++ b/contrib/zsh-completion/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e ZSH_FUNC_DIR="/usr/share/zsh/site-functions" diff --git a/scripts/build.sh b/scripts/build.sh index c7bbf2acb2..ef4907603b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # This script builds the application from source for multiple platforms. set -e diff --git a/scripts/dist.sh b/scripts/dist.sh index ef6c40385f..a3325924a5 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e # Get the version from the command line diff --git a/scripts/verify_no_uuid.sh b/scripts/verify_no_uuid.sh index 72ad7daf7a..ed42ee52af 100755 --- a/scripts/verify_no_uuid.sh +++ b/scripts/verify_no_uuid.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash grep GenerateUUID consul/state/state_store.go RESULT=$? diff --git a/website/packer.json b/website/packer.json index b230c7e510..3d2ff79da1 100644 --- a/website/packer.json +++ b/website/packer.json @@ -34,7 +34,7 @@ "bundle check || bundle install --jobs 7", "bundle exec middleman build", - "/bin/bash ./scripts/deploy.sh" + "/usr/bin/env bash ./scripts/deploy.sh" ] } ] diff --git a/website/scripts/deploy.sh b/website/scripts/deploy.sh index aad99fc6cf..d630f1f486 100755 --- a/website/scripts/deploy.sh +++ b/website/scripts/deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e PROJECT="consul"