force testing .env with no newline and actually fix #1025 and #1026. closes #1063

This commit is contained in:
Michael Hobbs
2015-04-01 13:49:55 -07:00
parent 89af9cf5db
commit 1bad26426e
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ APP="$1"; IMAGE="dokku/$APP"; BUILD_ENV=""
! (grep -q CURL_TIMEOUT "$DOKKU_ROOT/ENV" > /dev/null 2>&1) && echo "export CURL_TIMEOUT=30" >> "$DOKKU_ROOT/ENV"
if [[ -f "$DOKKU_ROOT/ENV" ]]; then
BUILD_ENV+=$'\n'
BUILD_ENV+=$(< "$DOKKU_ROOT/ENV")
BUILD_ENV+=$'\n'
fi

1
tests/apps/ruby/.env Normal file
View File

@@ -0,0 +1 @@
export BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby#v129