Skip to content

Commit

Permalink
Fixed tiff2pdf call on Alpine dist (2600hz#4778)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-safarov authored and lazedo committed Apr 11, 2018
1 parent 239baa9 commit fb74875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/fax/src/fax_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ validate_tiff_content(Filename) ->
Exe ->
Dir = filename:dirname(Filename),
OutputFile = filename:join(Dir, <<(kz_binary:rand_hex(16))/binary, ".pdf">>),
Cmd = io_lib:format("~s ~s -o ~s", [Exe, Filename, OutputFile]),
Cmd = io_lib:format("~s -o ~s ~s", [Exe, OutputFile, Filename]),
catch(os:cmd(Cmd)),
case file:read_file_info(OutputFile) of
{'ok', _} ->
Expand Down

0 comments on commit fb74875

Please sign in to comment.