From e8ce29d58d9092e37959526a047fefdcfa812d74 Mon Sep 17 00:00:00 2001 From: zelig Date: Tue, 2 Jun 2015 14:48:56 +0100 Subject: [PATCH] change mimetype back to file: no mimetype command on MacOs --- bzz/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bzz/api.go b/bzz/api.go index a8ef586d3f..f2a070d25a 100644 --- a/bzz/api.go +++ b/bzz/api.go @@ -266,8 +266,8 @@ func (self *Api) Upload(lpath, index string) (string, error) { wg.Wait() } if err == nil { - //cmd := exec.Command("file", "--mime-type", "-b", entry.Path) - cmd := exec.Command("mimetype", "-b", entry.Path) + cmd := exec.Command("file", "--mime-type", "-b", entry.Path) + // cmd := exec.Command("mimetype", "-b", entry.Path) var out bytes.Buffer cmd.Stdout = &out err = cmd.Run()