Don't assume /bin/bash is installed on all OSes

Use `/usr/bin/env bash` where appropriate.
This commit is contained in:
Sean Chittenden 2016-02-01 11:25:55 -08:00
parent e68477688e
commit bde685a046
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
ZSH_FUNC_DIR="/usr/share/zsh/site-functions" ZSH_FUNC_DIR="/usr/share/zsh/site-functions"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# This script builds the application from source for multiple platforms. # This script builds the application from source for multiple platforms.
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Get the version from the command line # Get the version from the command line

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
grep GenerateUUID consul/state/state_store.go grep GenerateUUID consul/state/state_store.go
RESULT=$? RESULT=$?

View File

@ -34,7 +34,7 @@
"bundle check || bundle install --jobs 7", "bundle check || bundle install --jobs 7",
"bundle exec middleman build", "bundle exec middleman build",
"/bin/bash ./scripts/deploy.sh" "/usr/bin/env bash ./scripts/deploy.sh"
] ]
} }
] ]

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
PROJECT="consul" PROJECT="consul"