Skip to content

Commit baac55b

Browse files
authored
Merge pull request #496 from l0rd/win-default-helper-binaries
Use $BINDIR as the default helper binary directory on Windows
2 parents 32a0839 + 4877783 commit baac55b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/pkg/config/config_windows.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ func overrideContainersConfigPath() (string, error) {
3131
}
3232

3333
var defaultHelperBinariesDir = []string{
34-
"C:\\Program Files\\RedHat\\Podman",
34+
// FindHelperBinaries(), as a convention, interprets $BINDIR as the
35+
// directory where the current process binary (i.e. podman) is located.
36+
"$BINDIR",
3537
}

0 commit comments

Comments
 (0)