diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-17 15:07:04 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-17 15:07:04 -0500 |
commit | 1b4ed54a85c31a032fbc841c62f674c3a8f2764b (patch) | |
tree | 9544f04a8516b215104c170c3129faa75b33cfe6 /lib | |
parent | 0f36dee9ed3225662e551fce165e30867b246656 (diff) | |
download | stitch-1b4ed54a85c31a032fbc841c62f674c3a8f2764b.tar.gz stitch-1b4ed54a85c31a032fbc841c62f674c3a8f2764b.tar.bz2 stitch-1b4ed54a85c31a032fbc841c62f674c3a8f2764b.zip |
Fix binary release
Diffstat (limited to '')
-rw-r--r-- | lib/grep.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/grep.ml b/lib/grep.ml index 7ec4c95..2e55b40 100644 --- a/lib/grep.ml +++ b/lib/grep.ml @@ -1,4 +1,7 @@ -let execution_directory = Sys.getenv "STITCH_DIRECTORY" +let execution_directory = + Sys.getenv_opt "STITCH_DIRECTORY" |> Option.value ~default:"/anywhere" + + let grep_cmd = Sys.getenv_opt "STICH_GREP_CMD" |> Option.value ~default:"grep" let tag_pattern = |