Fix unavailable expunge on Windows (#447)

Fix unavailable expunge on Windows

Without this commit, get:

```
File "src/top/dune", line 33, characters 0-131:
33 | (rule
34 |  (targets utop-expunged.bc)
35 |  (action
36 |   (run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
37 |     %{read-lines:modules.txt})))
Error: File unavailable:
Z:/source/dkml/build/pkg/bump/.ci/o/PR/lib/ocaml/expunge
```

Co-authored-by: Etienne Millon <me@emillon.org>
This commit is contained in:
jonahbeckford 2023-07-07 08:34:13 -07:00 committed by GitHub
parent 8da707283f
commit f8affb8cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2.13.1 (Pending)
----------------
* Fix unavailable expunge on Windows (#447, @jonahbeckford)
2.13.0 (2023-07-03)
-------------------

View File

@ -33,7 +33,7 @@
(rule
(targets utop-expunged.bc)
(action
(run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
(run %{ocaml_where}/expunge%{ext_exe} %{dep:utop.bc} %{targets}
%{read-lines:modules.txt})))
(install