aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorROMAN SHESTAKOV <[email protected]>2014-10-28 19:26:32 +0000
committerROMAN SHESTAKOV <[email protected]>2014-10-28 19:26:32 +0000
commit61c58bd5a0da26624464b0b97c47d95a718ff02f (patch)
tree2032f756778ab07a1c00bb767780a5614699a295
parent68957e4a8fe23cf6b50987e3019329c3f6125435 (diff)
downloadrelx-61c58bd5a0da26624464b0b97c47d95a718ff02f.tar.gz
relx-61c58bd5a0da26624464b0b97c47d95a718ff02f.tar.bz2
relx-61c58bd5a0da26624464b0b97c47d95a718ff02f.zip
turn args from string to list - related to https://github.com/erlware/relx/issues/239
-rw-r--r--priv/templates/extended_bin.dtl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index e4f537a..abb823d 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -317,7 +317,7 @@ case "$1" in
-args_file "$VMARGS_PATH"
# Dump environment info for logging purposes
- echo "Exec: $@ -- ${1+$ARGS}"
+ echo "Exec: $@" -- ${1+$ARGS}
echo "Root: $ROOTDIR"
# Log the startup
@@ -325,7 +325,7 @@ case "$1" in
logger -t "$REL_NAME[$$]" "Starting up"
# Start the VM
- exec "$@" -- "${1+$ARGS}"
+ exec "$@" -- ${1+$ARGS}
;;
foreground)