File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ function oinstall() {
100
100
prefix=" $2 "
101
101
102
102
cd $mydir
103
- gofmt -s -w go /
103
+ gofmt -s -w pkg /
104
104
cp ./resources/etc/init.d/freno $builddir /freno/etc/init.d/freno
105
105
chmod +x $builddir /freno/etc/init.d/freno
106
106
cp ./resources/freno.conf.skeleton.json $builddir /freno/etc/freno.conf.json
@@ -143,7 +143,7 @@ function build() {
143
143
prefix=" $4 "
144
144
ldflags=" -X main.AppVersion=${RELEASE_VERSION} -X main.GitCommit=${GIT_COMMIT} "
145
145
echo " Building via $( go version) "
146
- gobuild=" go build -i ${opt_race} -ldflags \" $ldflags \" -o $builddir /freno${prefix} /freno go/ cmd/freno/main.go"
146
+ gobuild=" go build -i ${opt_race} -ldflags \" $ldflags \" -o $builddir /freno${prefix} /freno cmd/freno/main.go"
147
147
148
148
case $os in
149
149
' linux' )
You can’t perform that action at this time.
0 commit comments