diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-09-29 23:18:20 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-09-29 23:18:20 +0200 |
commit | b8b112524b287dfbf1b948fb2d376b3a8931f44b (patch) | |
tree | 2593f66c1b817cdf5d2e52e63675f8272156473e /src | |
parent | e33285aeafe04c07366d9f38d61acc46ef6e64a0 (diff) |
Fix dialyzer warning: os:find_executable(string())
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 2e0796d..898864b 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -93,7 +93,7 @@ sh(Command0, Env, Dir) -> %% We need a bash shell to execute on windows %% also the port doesn't seem to close from time to time (mingw) patch_on_windows(Cmd, {win32,nt}) -> - case os:find_executable(bash) of + case os:find_executable("bash") of false -> Cmd; Bash -> Bash ++ " -c \"" ++ Cmd ++ "; echo _port_cmd_status_ $?\" " |