Aceptar un parametro ENV_FILE
This commit is contained in:
parent
4ea037359b
commit
b3c9e18fac
1 changed files with 1 additions and 0 deletions
1
haini.sh
1
haini.sh
|
@ -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}" \
|
||||||
|
|
Loading…
Reference in a new issue