mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
quadlet: Default BINDIR to /usr/bin if tag not specified
When building without the makefile the v4/pkg/systemd/quadlet._binDir defined is not set. In that case default to /usr/bin rather than the empty string. This helps e.g. the rpm specfile which doesn't use the makefile. Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
|
||||
// Overwritten at build time
|
||||
var (
|
||||
_binDir string
|
||||
_binDir = "/usr/bin"
|
||||
)
|
||||
|
||||
func podmanBinary() string {
|
||||
|
Reference in New Issue
Block a user