[hackers] [PATCH] scripts: Force file copying on install

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sun, 29 Oct 2023 11:32:50 +0100

This would otherwise cause an issue using cp to copy cp to itself.
---
 scripts/install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/install b/scripts/install
index b391715..ce78c1d 100755
--- a/scripts/install
+++ b/scripts/install
_AT_@ -9,7 +9,7 @@ do
 		mkdir -p $src
 		;;
 	c)
-		cp $src $dst
+		cp -f $src $dst
 		;;
 	*)
 		echo install: wrong entry type >&2
-- 
2.42.0
Received on Sun Oct 29 2023 - 11:32:50 CET

This archive was generated by hypermail 2.3.0 : Sun Oct 29 2023 - 11:36:36 CET