Skip to content

Commit 85c7159

Browse files
Merge pull request #1002 from cloudfoundry/cf-stack-unbound
Default to empty string if CF_STACK unbound
2 parents 3e4bfab + 67ff596 commit 85c7159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function main() {
9393
local phase
9494
phase="$(basename "${0}")"
9595

96-
if [[ "${CF_STACK}" == "cflinuxfs4" ]]; then
96+
if [[ "${CF_STACK:-}" == "cflinuxfs4" ]]; then
9797
if [[ ! -e "${RUBY_DIR}" ]]; then
9898
mkdir -p "${RUBY_DIR}"
9999

0 commit comments

Comments
 (0)