Skip to content

Commit

Permalink
Fix make package for community beats (elastic#3094)
Browse files Browse the repository at this point in the history
gopkg.in needs to be copied from the vendor directory of libbeat in the vendor directory
  • Loading branch information
ruflin authored and suraj-soni committed Dec 15, 2016
1 parent 0990085 commit 91a4e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-tools/packer/xgo-scripts/before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ fi
# with git 1.7
git clone https://github.com/tsg/gotpl.git /go/src/github.com/tsg/gotpl
mkdir -p /go/src/gopkg.in/yaml.v2
cp -r /go/src/github.com/elastic/beats/vendor/gopkg.in/yaml.v2 /go/src/gopkg.in/

cp -r $LIBBEAT_PATH/../vendor/gopkg.in/yaml.v2 /go/src/gopkg.in/
go install github.com/tsg/gotpl

# Append doc versions to package.yml
Expand Down

0 comments on commit 91a4e14

Please sign in to comment.