Skip to content

Commit 5d42596

Browse files
Merge pull request #126 from github/build.sh-update-paths
Update build.sh for new code dirs
2 parents 5de5f0d + 6009609 commit 5d42596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function oinstall() {
100100
prefix="$2"
101101

102102
cd $mydir
103-
gofmt -s -w go/
103+
gofmt -s -w pkg/
104104
cp ./resources/etc/init.d/freno $builddir/freno/etc/init.d/freno
105105
chmod +x $builddir/freno/etc/init.d/freno
106106
cp ./resources/freno.conf.skeleton.json $builddir/freno/etc/freno.conf.json
@@ -143,7 +143,7 @@ function build() {
143143
prefix="$4"
144144
ldflags="-X main.AppVersion=${RELEASE_VERSION} -X main.GitCommit=${GIT_COMMIT}"
145145
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"
147147

148148
case $os in
149149
'linux')

0 commit comments

Comments
 (0)