scripts: Force file copying on install - sbase - suckless unix tools | |
git clone git://git.suckless.org/sbase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6fc6bbbf7141533ef8506ae8085eef594b2345fe | |
parent c31af02d2231704f54ec2286ad1a71dc9fe3bdff | |
Author: Quentin Rameau <[email protected]> | |
Date: Sun, 29 Oct 2023 11:32:50 +0100 | |
scripts: Force file copying on install | |
This would otherwise cause an issue using cp to copy cp to itself. | |
Diffstat: | |
M scripts/install | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/scripts/install b/scripts/install | |
@@ -9,7 +9,7 @@ do | |
mkdir -p $src | |
;; | |
c) | |
- cp $src $dst | |
+ cp -f $src $dst | |
;; | |
*) | |
echo install: wrong entry type >&2 |