aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-fork
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-09-20 12:26:30 +0000
committermerakor <cem@ckyln.com>2021-09-20 12:26:30 +0000
commit9cf037c91ecff19219388e6f37622658527b360b (patch)
treeb93f2be2e7a46c06a91f91ee679d7236695d7ffc /contrib/cpt-fork
parent9c36c85d1c00a3fc9c5bed4940873aa6149a76f9 (diff)
parent9ee647190e9927decdcb959337cc2bd5b480b4c7 (diff)
downloadcpt-9cf037c91ecff19219388e6f37622658527b360b.tar.gz
merge maintenance branch
FossilOrigin-Name: 1de039467a1cf2facde24b23f24fcefb6bc6eb9f2dfdfff0165416542d2b2724
Diffstat (limited to 'contrib/cpt-fork')
-rwxr-xr-xcontrib/cpt-fork4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cpt-fork b/contrib/cpt-fork
index 21e1618..733c942 100755
--- a/contrib/cpt-fork
+++ b/contrib/cpt-fork
@@ -31,12 +31,12 @@ for pkg; do
case "$pkg" in
*/*)
[ -d "$pkg" ] || die "$pkg is not a directory"
- cp -r "$pkg" .
+ cp -Hr "$pkg" .
pkg=${pkg##*/}
;;
*)
cpt-search "$pkg" >/dev/null
- cp -r "$(cpt-search --single "$pkg")" .
+ cp -Hr "$(cpt-search --single "$pkg")" .
esac
# Sometimes forked packages are from the database and not from a repository.