mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-21 08:49: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 \
|
||||
$(INSTALL) -d -m 755 '$(DESTDIR)$2'; \
|
||||
fi;
|
||||
$(Q)cp -fpR $1 '$(DESTDIR)$2'
|
||||
$(Q)cp -fR $1 '$(DESTDIR)$2'
|
||||
endef
|
||||
|
||||
install: all install_headers install_pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user