From b3c9e18facddb9892caef9227bb5df8f09d8e1c5 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 28 Oct 2021 15:29:56 -0300 Subject: [PATCH] Aceptar un parametro ENV_FILE --- haini.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/haini.sh b/haini.sh index d49ef2a..1dbb8fa 100755 --- a/haini.sh +++ b/haini.sh @@ -56,6 +56,7 @@ correr() { HAIN_ENV=true \ RAILS_ENV="${RAILS_ENV:-development}" \ JEKYLL_ENV="${JEKYLL_ENV:-development}" \ + $(test -f "$ENV_FILE" && (grep -v '^#' "$ENV_FILE" | xargs -0) || true) \ EDITOR="nano" \ PAGER="less -niSFX" \ SSH_AUTH_SOCK="${SSH_AUTH_SOCK}" \