mirror of https://github.com/hashicorp/consul
Don't assume /bin/bash is installed on all OSes
Use `/usr/bin/env bash` where appropriate.pull/1676/head
parent
2bf794fac9
commit
fa0d388ef1
|
@ -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