summaryrefslogtreecommitdiff
path: root/priv/templates
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-17 12:39:31 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-17 12:39:31 +0100
commit57e593a3190f9de9894f6ae990b26a23bbf32b48 (patch)
tree60cc74e857c75797c3bff94d80132649ef051521 /priv/templates
parentec6a5fb587eced1e7040d8fbcc2db9d117c32c7a (diff)
Fix possible export VAR=VALUE bashism
Diffstat (limited to 'priv/templates')
-rwxr-xr-xpriv/templates/simplenode.runner3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 262cc1e..10c233b 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -58,7 +58,8 @@ case "$1" in
echo "Node is already running!"
exit 1
fi
- export HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
+ HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
+ export HEART_COMMAND
mkdir -p $PIPE_DIR
# Note the trailing slash on $PIPE_DIR/
$ERTS_PATH/run_erl -daemon $PIPE_DIR/ $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1