mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Makefile: don't rely on the non-standard -r flag for ln
This flag is not supported on BSD-derived systems including FreeBSD and macos. We can get exactly the same symlink by passing the desired relative path as source argument to 'ln -sf'. Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
2
Makefile
2
Makefile
@ -830,7 +830,7 @@ install.remote:
|
||||
install.bin:
|
||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)
|
||||
install ${SELINUXOPT} -m 755 bin/podman $(DESTDIR)$(BINDIR)/podman
|
||||
ln -sfr $(DESTDIR)$(BINDIR)/podman $(DESTDIR)$(BINDIR)/podmansh
|
||||
ln -sf podman $(DESTDIR)$(BINDIR)/podmansh
|
||||
test -z "${SELINUXOPT}" || chcon --verbose --reference=$(DESTDIR)$(BINDIR)/podman bin/podman
|
||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(LIBEXECPODMAN)
|
||||
ifneq ($(shell uname -s),FreeBSD)
|
||||
|
Reference in New Issue
Block a user