mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-03 07:09:06 +08:00
install: don't preserve file owner
'cp -p' preserve file ownership, this may leave files owned by the current in user in /lib . Signed-off-by: Matteo Croce <mcroce@microsoft.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
a199b85415
commit
767d82caab
@@ -130,7 +130,7 @@ define do_s_install
|
|||||||
$(Q)if [ ! -d '$(DESTDIR)$2' ]; then \
|
$(Q)if [ ! -d '$(DESTDIR)$2' ]; then \
|
||||||
$(INSTALL) -d -m 755 '$(DESTDIR)$2'; \
|
$(INSTALL) -d -m 755 '$(DESTDIR)$2'; \
|
||||||
fi;
|
fi;
|
||||||
$(Q)cp -fpR $1 '$(DESTDIR)$2'
|
$(Q)cp -fR $1 '$(DESTDIR)$2'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
install: all install_headers install_pkgconfig
|
install: all install_headers install_pkgconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user