use install instead of ln

This commit is contained in:
Balakrishnan Balasubramanian 2022-11-17 15:31:42 -05:00
parent 09617733cb
commit c64fef4baf

View File

@ -10,7 +10,9 @@ for f in $(all_files)
do
install_path="${f#"$root"}"
mkdir -p "$(dirname "$install_path")"
ln -snf "$PWD/$f" "$install_path"
# ln -snf "$PWD/$f" "$install_path"
# shellcheck disable=SC2046
install -C $(stat -c '-m %a -g %g -o %u' "$PWD/$f") "$PWD/$f" "$install_path"
done
# vim: set filetype=bash: