author | wenzelm |
Tue, 13 Oct 2020 17:34:15 +0200 | |
changeset 72464 | b32eea5823c8 |
parent 72463 | defbbff7396c |
child 72465 | de11c745ebbc |
--- 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) =