mirror of
https://github.com/containers/podman.git
synced 2025-06-26 21:07:02 +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
|
// Overwritten at build time
|
||||||
var (
|
var (
|
||||||
_binDir string
|
_binDir = "/usr/bin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func podmanBinary() string {
|
func podmanBinary() string {
|
||||||
|
Reference in New Issue
Block a user