From 5e9b9c888ebf19a0eaa849870ca9f78cee1d108f Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 24 Apr 2021 20:09:59 +1200 Subject: [PATCH] ocaml extension --- packages/ocaml/4.12.0/compile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ocaml/4.12.0/compile b/packages/ocaml/4.12.0/compile index c1d3e6a..39ddd0b 100644 --- a/packages/ocaml/4.12.0/compile +++ b/packages/ocaml/4.12.0/compile @@ -1,3 +1,5 @@ #!/bin/bash -ocamlc -o out "$@" +rename 's/$/\.ml/' "$@" # Add .ml extension + +ocamlc -o out *.ml