Skip to content

Commit

Permalink
Merge pull request elastic#11 from tsg/binary_cfg
Browse files Browse the repository at this point in the history
Install different config file in the tar.gz on Linux
  • Loading branch information
ruflin committed Oct 19, 2015
2 parents 97db06d + 735cc1b commit aa4f05e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platforms/binary/run.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cd /build

mkdir /{{.beat_name}}-{{.version}}-{{.bin_arch}}
cp {{.beat_name}}-linux-{{.arch}} /{{.beat_name}}-{{.version}}-{{.bin_arch}}/{{.beat_name}}
cp {{.beat_name}}-linux.yml /{{.beat_name}}-{{.version}}-{{.bin_arch}}/{{.beat_name}}.yml
cp {{.beat_name}}-binary.yml /{{.beat_name}}-{{.version}}-{{.bin_arch}}/{{.beat_name}}.yml
cp {{.beat_name}}.template.json /{{.beat_name}}-{{.version}}-{{.bin_arch}}/

mkdir -p upload/{{.beat_name}}
Expand Down
2 changes: 1 addition & 1 deletion xgo-scripts/before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ PB_PATH=/go/src/github.com/elastic/packetbeat
if [ -d $PB_PATH ]; then
cd $PB_PATH
patch -p1 < /gopacket_pcap.patch
PREFIX=/build make install_cfg
PREFIX=/build make install-cfg
fi
2 changes: 1 addition & 1 deletion xgo-scripts/packetbeat_before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ PB_PATH=/go/src/github.com/elastic/packetbeat
if [ -d $PB_PATH ]; then
cd $PB_PATH
patch -p1 < /gopacket_pcap.patch
PREFIX=/build make install_cfg
PREFIX=/build make install-cfg
fi
2 changes: 1 addition & 1 deletion xgo-scripts/topbeat_before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e

BEAT_PATH=/go/src/github.com/elastic/topbeat
cd $BEAT_PATH
PREFIX=/build make install_cfg
PREFIX=/build make install-cfg

0 comments on commit aa4f05e

Please sign in to comment.