Aceptar un parametro ENV_FILE

This commit is contained in:
Cat /dev/Nulo 2021-10-28 15:29:56 -03:00
parent 4ea037359b
commit b3c9e18fac

View file

@ -56,6 +56,7 @@ correr() {
HAIN_ENV=true \ HAIN_ENV=true \
RAILS_ENV="${RAILS_ENV:-development}" \ RAILS_ENV="${RAILS_ENV:-development}" \
JEKYLL_ENV="${JEKYLL_ENV:-development}" \ JEKYLL_ENV="${JEKYLL_ENV:-development}" \
$(test -f "$ENV_FILE" && (grep -v '^#' "$ENV_FILE" | xargs -0) || true) \
EDITOR="nano" \ EDITOR="nano" \
PAGER="less -niSFX" \ PAGER="less -niSFX" \
SSH_AUTH_SOCK="${SSH_AUTH_SOCK}" \ SSH_AUTH_SOCK="${SSH_AUTH_SOCK}" \