Skip to content

Commit

Permalink
Fix compatibility issue with dokku >= v0.3.15
Browse files Browse the repository at this point in the history
- See dokku/dokku#906 for more information.
  • Loading branch information
Alessio Treglia committed Feb 16, 2015
1 parent a9ac3d4 commit 0ef0812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-args
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x

STDIN=$(cat)
APP="$1"
APP="$1"; PHASE="$2"

_env=$(dokku volume:env "$APP")

if [[ $? -eq 0 ]]; then
if [[ $? -eq 0 ]] && [[ "$PHASE" != "build" ]]; then
echo "$STDIN $_env"
else
echo "$STDIN"
Expand Down

0 comments on commit 0ef0812

Please sign in to comment.