Linearization / windows
This commit is contained in:
parent
c76551e5a0
commit
491262c9e7
2
cpdf.ml
2
cpdf.ml
|
@ -22,10 +22,10 @@ let call_cpdflin cpdflin temp output best_password =
|
||||||
cpdflin ^ " --linearize " ^ " --password=" ^ best_password ^ " " ^
|
cpdflin ^ " --linearize " ^ " --password=" ^ best_password ^ " " ^
|
||||||
Filename.quote temp ^ " " ^ Filename.quote output
|
Filename.quote temp ^ " " ^ Filename.quote output
|
||||||
in
|
in
|
||||||
|
|
||||||
match Sys.os_type with
|
match Sys.os_type with
|
||||||
"Win32" ->
|
"Win32" ->
|
||||||
(* On windows, don't use LD_LIBRARY_PATH - it will happen automatically *)
|
(* On windows, don't use LD_LIBRARY_PATH - it will happen automatically *)
|
||||||
|
print_endline command;
|
||||||
Sys.command command
|
Sys.command command
|
||||||
| _ ->
|
| _ ->
|
||||||
(* On other platforms, if -cpdflin was provided, or cpdflin was in the
|
(* On other platforms, if -cpdflin was provided, or cpdflin was in the
|
||||||
|
|
Loading…
Reference in New Issue