Skip to content

Commit 224ac14

Browse files
committed
Fix building package
Pass the given package to go get command, otherwise it will get a package from current directory, that is - if running goaci github.com/coreos/etcd from github.com/jonboulle/goaci directory it will get goaci instead of etcd and create an etcd.aci with goaci binary in rootfs.
1 parent fc7b914 commit 224ac14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

goaci.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func main() {
102102
if err != nil {
103103
die("bad app name: %v", err)
104104
}
105+
args = append(args, ns)
105106

106107
// Use the last component, e.g. example.com/my/app --> app
107108
ofn := filepath.Base(ns) + ".aci"

0 commit comments

Comments
 (0)