Fix pre-build script for make package

This patch originally is from https://github.com/elastic/beats/pull/3094
This commit is contained in:
Blerim Sheqa 2017-01-28 00:25:33 +01:00
parent a9bb4a709c
commit d80cbaf23f
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ fi
# with git 1.7 # with git 1.7
git clone https://github.com/tsg/gotpl.git /go/src/github.com/tsg/gotpl git clone https://github.com/tsg/gotpl.git /go/src/github.com/tsg/gotpl
mkdir -p /go/src/gopkg.in/yaml.v2 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 /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 go install github.com/tsg/gotpl
# Append doc versions to package.yml # Append doc versions to package.yml