Skip to content

Commit

Permalink
eturnalctl: Actually export ETURNAL_ETC_DIR
Browse files Browse the repository at this point in the history
Hand over the ETURNAL_ETC_DIR (specified at build or overriden at run
time) to eturnal.
  • Loading branch information
weiss committed Jul 28, 2023
1 parent 6bc0cf5 commit 68c4368
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/eturnalctl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ then
. "$config_file"
fi

if [ -z "${ETURNAL_ETC_DIR+x}" ] && [ -n "$etc_dir" ]
then
ETURNAL_ETC_DIR="$etc_dir"
export ETURNAL_ETC_DIR
fi
if [ -z "${ERL_EPMD_ADDRESS+x}" ] && [ -n "$epmd_address" ]
then
ERL_EPMD_ADDRESS="$epmd_address"
Expand Down

0 comments on commit 68c4368

Please sign in to comment.