Skip to content

Commit

Permalink
Update utils/doltgres_builder/run.go
Browse files Browse the repository at this point in the history
Co-authored-by: jennifersp <[email protected]>
  • Loading branch information
coffeegoddd and jennifersp authored Jan 5, 2024
1 parent 944c604 commit 0ba1f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/doltgres_builder/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ func goBuild(ctx context.Context, parserScriptPath, source, dest string) (string
return "", err
}

doltFileName := "doltgres"
doltgresFileName := "doltgres"
if runtime.GOOS == "windows" {
doltFileName = "doltgres.exe"
doltgresFileName = "doltgres.exe"
}
toBuild := filepath.Join(dest, doltFileName)
toBuild := filepath.Join(dest, doltgresFileName)
build := builder.ExecCommand(ctx, "go", "build", "-o", toBuild, ".")
build.Dir = source
err = build.Run()
Expand Down

0 comments on commit 0ba1f72

Please sign in to comment.