File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ function oinstall() {
102
102
cd $mydir
103
103
gofmt -s -w go/
104
104
cp ./resources/etc/init.d/freno $builddir /freno/etc/init.d/freno
105
- cp ./resources/freno.conf.skeleton.json $builddir /freno/etc/freno.conf.json
106
105
chmod +x $builddir /freno/etc/init.d/freno
106
+ cp ./resources/freno.conf.skeleton.json $builddir /freno/etc/freno.conf.json
107
107
}
108
108
109
109
function package() {
@@ -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/freno go/cmd/freno/main.go"
146
+ gobuild=" go build -i ${opt_race} -ldflags \" $ldflags \" -o $builddir /freno${prefix} /freno go/cmd/freno/main.go"
147
147
148
148
case $os in
149
149
' linux' )
@@ -153,7 +153,7 @@ function build() {
153
153
echo " GOOS=darwin GOARCH=amd64 $gobuild " | bash
154
154
;;
155
155
esac
156
- [[ $( find $builddir /freno${prefix} /freno/ -type f -name freno) ]] && echo " freno binary created" || (echo " Failed to generate freno binary" ; exit 1)
156
+ [[ $( find $builddir /freno${prefix} / -type f -name freno) ]] && echo " freno binary created" || (echo " Failed to generate freno binary" ; exit 1)
157
157
}
158
158
159
159
function main() {
You can’t perform that action at this time.
0 commit comments