Overlay/sys-libs/libnvidia-container/files/libnvidia-container-1.8.0-f...

13 lines
375 B
Diff
Raw Normal View History

2023-03-09 21:03:55 +03:00
diff --git a/mk/nvcgo.mk b/mk/nvcgo.mk
index 0070ada..8643de0 100644
--- a/mk/nvcgo.mk
+++ b/mk/nvcgo.mk
@@ -26,7 +26,8 @@
build:
$(RM) -rf $(SRCS_DIR)
- $(CP) -R $(CURDIR)/src/$(PREFIX) $(SRCS_DIR)
+ mkdir -p $(SRCS_DIR)
+ $(CP) -r $(CURDIR)/src/$(PREFIX)/. $(SRCS_DIR)
$(MAKE) -C $(SRCS_DIR) VERSION=$(VERSION) clean
$(MAKE) -C $(SRCS_DIR) VERSION=$(VERSION) build