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
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.
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# 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
RESULT=$?

View File

@ -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"
]
}
]

View File

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