Skip to content

Commit

Permalink
Set up args for win32 install task properly
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed May 20, 2019
1 parent c61918f commit ce5b329
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions priv/libexec/commands/win/install.ps1
Expand Up @@ -26,6 +26,7 @@ $codepaths = get-code-paths
$service_argv += "-pa"
$service_argv += $codepaths
$service_argv += @("-pa", $Env:CONSOLIDATED_DIR)
$base_argv = erl-args @service_argv
# Add start_erl opts, delimited by ++
$service_argv += "++"
$service_argv += "-noconfig"
Expand All @@ -43,7 +44,9 @@ $service_argv = $service_argv | foreach {
}
# Convert argv into a string for -args
$base_args = $base_argv -join " "
$service_args = $service_argv -join " "
$service_args = $base_args, $service_args -join " "
$name_type = ("-{0}" -f $Env:NAME_TYPE)
Expand Down

0 comments on commit ce5b329

Please sign in to comment.