brotli CLI no longer takes --input argument
This commit is contained in:
parent
566c23dd7e
commit
280bf2b181
|
@ -233,8 +233,7 @@ func packOneBrotli(packer *packWriter, filename string, uncompressedSize uint64,
|
||||||
defer tmpfile.Close()
|
defer tmpfile.Close()
|
||||||
|
|
||||||
// compress via commandline
|
// compress via commandline
|
||||||
cmd := exec.Command(BrotliPath, "--input", filename,
|
cmd := exec.Command(BrotliPath, filename, "--output", tmpfile.Name())
|
||||||
"--output", tmpfile.Name())
|
|
||||||
out, err := cmd.CombinedOutput()
|
out, err := cmd.CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fmt.Errorf("brotli: %v (process reported: %s)", err, out)
|
err = fmt.Errorf("brotli: %v (process reported: %s)", err, out)
|
||||||
|
|
Loading…
Reference in New Issue