We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Commit 813e1cf9 authored by John van Groningen's avatar John van Groningen

fix removing of .exe in executable file name when converting a project from...

fix removing of .exe in executable file name when converting a project from windows to another platform
parent 847b7a48
......@@ -239,10 +239,10 @@ convert_exec_path_separators_and_extension path
= path+++".exe"
| separator=='\\'
# l=size path
| l>4 && path.[l-4]=='\\'
&& (path.[l-3]=='e' || path.[l-3]=='e')
&& (path.[l-2]=='x' || path.[l-2]=='x')
&& (path.[l-1]=='e' || path.[l-1]=='e')
| l>4 && path.[l-4]=='.'
&& (path.[l-3]=='e' || path.[l-3]=='E')
&& (path.[l-2]=='x' || path.[l-2]=='X')
&& (path.[l-1]=='e' || path.[l-1]=='E')
= path % (0,l-4)
= path
= path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment