Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Nov 2, 2023
1 parent 25b4b13 commit 18c5b14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/opamStd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,8 @@ module OpamSys = struct
| "cmd.exe" -> Some (Accept SH_cmd)
| "env.exe" -> Some (Accept SH_sh)
| name ->
if not (Filename.check_suffix name ".exe") then
Printf.printf "Unexpected: %S\n%!" name;
Option.map
(fun shell -> Accept shell)
(shell_of_string (Filename.chop_suffix name ".exe"))
Expand Down

0 comments on commit 18c5b14

Please sign in to comment.