aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin_windows
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2019-05-20 09:25:31 -0600
committerGitHub <[email protected]>2019-05-20 09:25:31 -0600
commit670a602f657eeb6ac17589407df8e43cf4d1be89 (patch)
tree097769798d2d6d00fe3e2ff8a17a04034bf52a8f /priv/templates/bin_windows
parentd903c6e52fd7a28e5cee8d0459f0e2ee795f2c93 (diff)
parentcca2a6cade4d97b5b36ca7c055d25677860bdc5d (diff)
downloadrelx-670a602f657eeb6ac17589407df8e43cf4d1be89.tar.gz
relx-670a602f657eeb6ac17589407df8e43cf4d1be89.tar.bz2
relx-670a602f657eeb6ac17589407df8e43cf4d1be89.zip
Merge branch 'master' into goals_option
Diffstat (limited to 'priv/templates/bin_windows')
-rw-r--r--priv/templates/bin_windows17
1 files changed, 17 insertions, 0 deletions
diff --git a/priv/templates/bin_windows b/priv/templates/bin_windows
index b3ce796..19c0d2d 100644
--- a/priv/templates/bin_windows
+++ b/priv/templates/bin_windows
@@ -73,6 +73,23 @@ cd %rootdir%
@set "possible_sys=%rel_dir%\sys.config"
@if exist "%possible_sys%" (
set sys_config=-config "%possible_sys%"
+) else (
+ @if exist "%possible_sys%.orig" (
+ ren "%possible_sys%.orig" sys.config
+ set sys_config=-config "%possible_sys%"
+ )
+)
+
+:: Find the vm.args file
+:find_vm_args
+@set "possible_vm_args=%rel_dir%\vm.args"
+@if exist "%possible_vm_args%" (
+ set vm_args="%possible_vm_args%"
+) else (
+ @if exist "%possible_vm_args%.orig" (
+ ren "%possible_vm_args%.orig" vm.args
+ set vm_args="%possible_vm_args%"
+ )
)
@goto :eof