From d13da655fd65b4b0073425fd6bf341137ad81e79 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 30 Jan 2017 07:54:40 -0200 Subject: [PATCH] added comments --- pipeline/fpm/fpm.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/fpm/fpm.go b/pipeline/fpm/fpm.go index 8641db44a..4c591ae71 100644 --- a/pipeline/fpm/fpm.go +++ b/pipeline/fpm/fpm.go @@ -77,6 +77,8 @@ func create(ctx *context.Context, format, archive, arch string) error { for _, dep := range ctx.Config.FPM.Dependencies { options = append(options, "-d", dep) } + // This basically tells fpm to put the binary in the /usr/local/bin + // binary=/usr/local/bin/binary options = append(options, name+"="+filepath.Join("/usr/local/bin", name)) cmd := exec.Command("fpm", options...)