Don't assume /bin/bash is installed on all OSes
Use `/usr/bin/env bash` where appropriate.
This commit is contained in:
parent
e68477688e
commit
bde685a046
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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=$?
|
||||||
|
|
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PROJECT="consul"
|
PROJECT="consul"
|
||||||
|
|
Loading…
Reference in New Issue