Skip to content

Commit

Permalink
(SDI-2199) Fix intelsdi-x#1344 binary change to snaptel/snapteld
Browse files Browse the repository at this point in the history
  • Loading branch information
nanliu committed Nov 17, 2016
1 parent 95ffc09 commit afe8245
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ plugins:
all:
bash -c "./scripts/build_all.sh"
install:
cp build/$(OS)/$(ARCH)/snapd /usr/local/bin/
cp build/$(OS)/$(ARCH)/snapctl /usr/local/bin/
cp build/$(OS)/$(ARCH)/snapteld /usr/local/sbin/
cp build/$(OS)/$(ARCH)/snaptel /usr/local/bin/
proto:
cd `echo $(GOPATH) | cut -d: -f 1`; bash -c "./src/github.com/intelsdi-x/snap/scripts/gen-proto.sh"
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/snapctl/main.go → cmd/snaptel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func newUsageError(s string, ctx *cli.Context) usageError {

func main() {
app := cli.NewApp()
app.Name = "snapctl"
app.Name = "snaptel"
app.Version = gitversion
app.Usage = "The open telemetry framework"
app.Flags = []cli.Flag{flURL, flSecure, flAPIVer, flPassword, flConfig}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions scripts/build_snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ else
fi

mkdir -p "${build_path}"
_info "building snapd/snapctl for ${GOOS}/${GOARCH}"
"${go_build[@]}" -o "${build_path}/snapd" . || exit 1
(cd "${__proj_dir}/cmd/snapctl" && "${go_build[@]}" -o "${build_path}/snapctl" . || exit 1)
_info "building snapteld/snaptel for ${GOOS}/${GOARCH}"
"${go_build[@]}" -o "${build_path}/snapteld" . || exit 1
(cd "${__proj_dir}/cmd/snaptel" && "${go_build[@]}" -o "${build_path}/snaptel" . || exit 1)
2 changes: 1 addition & 1 deletion snapd.go → snapteld.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func main() {
}

cliApp = cli.NewApp()
cliApp.Name = "snapd"
cliApp.Name = "snapteld"
cliApp.Version = gitversion
cliApp.Usage = "The open telemetry framework"
cliApp.Flags = []cli.Flag{
Expand Down

0 comments on commit afe8245

Please sign in to comment.