aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2017-05-14 02:11:26 +0100
committerLuis Rascao <[email protected]>2017-05-15 17:27:56 +0100
commitc1fa56db1ec4cc4aa6975f4efee0c189452a251d (patch)
tree42310f68d4badbec561e425515294c0db8f52721
parent8120e57a146c220579ab95a5f905755632999a83 (diff)
downloadrelx-c1fa56db1ec4cc4aa6975f4efee0c189452a251d.tar.gz
relx-c1fa56db1ec4cc4aa6975f4efee0c189452a251d.tar.bz2
relx-c1fa56db1ec4cc4aa6975f4efee0c189452a251d.zip
Ensure mustache does not html escape hook invocations
-rwxr-xr-xpriv/templates/extended_bin13
1 files changed, 7 insertions, 6 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index f05fb31..3090368 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -40,12 +40,13 @@ ERL_OPTS="{{ erl_opts }}"
RUNNER_LOG_DIR="${RUNNER_LOG_DIR:-$RELEASE_ROOT_DIR/log}"
# start/stop/install/upgrade pre/post hooks
-PRE_START_HOOKS="{{ pre_start_hooks }}"
-POST_START_HOOKS="{{ post_start_hooks }}"
-PRE_STOP_HOOKS="{{ pre_stop_hooks }}"
-POST_STOP_HOOKS="{{ post_stop_hooks }}"
-PRE_INSTALL_UPGRADE_HOOKS="{{ pre_install_upgrade_hooks }}"
-POST_INSTALL_UPGRADE_HOOKS="{{ post_install_upgrade_hooks }}"
+PRE_START_HOOKS="{{{ pre_start_hooks }}}"
+POST_START_HOOKS="{{{ post_start_hooks }}}"
+PRE_STOP_HOOKS="{{{ pre_stop_hooks }}}"
+POST_STOP_HOOKS="{{{ post_stop_hooks }}}"
+PRE_INSTALL_UPGRADE_HOOKS="{{{ pre_install_upgrade_hooks }}}"
+POST_INSTALL_UPGRADE_HOOKS="{{{ post_install_upgrade_hooks }}}"
+STATUS_HOOK="{{{ status_hook }}}"
relx_usage() {
command="$1"