use install instead of ln
This commit is contained in:
parent
09617733cb
commit
c64fef4baf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user