changeset 72464 | b32eea5823c8 |
parent 71601 | 97ccf48c2f0c |
child 72572 | e7e93c0f6d96 |
--- a/src/Pure/General/path.scala Tue Oct 13 17:13:24 2020 +0200 +++ b/src/Pure/General/path.scala Tue Oct 13 17:34:15 2020 +0200 @@ -204,6 +204,9 @@ prfx + Path.basic(s + "~~") } + def platform_exe: Path = + if (Platform.is_windows) ext("exe") else this + private val Ext = new Regex("(.*)\\.([^.]*)") def split_ext: (Path, String) =