[CRIU] [PATCH 1/2] compel/Makefile: don't use `-fr` for cp

Kir Kolyshkin kolyshkin at gmail.com
Wed Dec 5 05:07:11 MSK 2018


No need to use either -r (recursive) or -f (force).

Signed-off-by: Kir Kolyshkin <kolyshkin at gmail.com>
---
 compel/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compel/Makefile b/compel/Makefile
index 7ef01aa01..45736f29e 100644
--- a/compel/Makefile
+++ b/compel/Makefile
@@ -62,10 +62,10 @@ install: compel/compel compel/$(LIBCOMPEL_SO) compel/$(LIBCOMPEL_A)
 	$(Q) install -m 0644 compel/$(LIBCOMPEL_A) $(DESTDIR)$(LIBDIR)
 	$(E) "  INSTALL " compel uapi
 	$(Q) mkdir -p $(DESTDIR)$(INCLUDEDIR)/compel/asm
-	$(Q) cp -fr compel/include/uapi/*.h $(DESTDIR)$(INCLUDEDIR)/compel/
-	$(Q) cp -fr compel/include/uapi/asm/*.h $(DESTDIR)$(INCLUDEDIR)/compel/asm/
+	$(Q) cp compel/include/uapi/*.h $(DESTDIR)$(INCLUDEDIR)/compel/
+	$(Q) cp compel/include/uapi/asm/*.h $(DESTDIR)$(INCLUDEDIR)/compel/asm/
 	$(Q) mkdir -p $(DESTDIR)$(INCLUDEDIR)/compel/common/asm
-	$(Q) cp -fr include/common/compiler.h $(DESTDIR)$(INCLUDEDIR)/compel/common/
+	$(Q) cp include/common/compiler.h $(DESTDIR)$(INCLUDEDIR)/compel/common/
 .PHONY: install
 
 uninstall:
-- 
2.17.1



More information about the CRIU mailing list