Do not clobber files when creating tarballs

This commit is contained in:
Ehmry - 2023-04-28 13:38:20 +01:00
parent 1ac296fea3
commit e8cae0558d
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ stripSlash() {
for ((i = 0; i < ${#targets_[@]}; i++)); do
stripSlash "${targets_[$i]}"
mkdir -p "$(dirname "$res")"
cp -a "${sources_[$i]}" "$res"
cp -an "${sources_[$i]}" "$res"
done