use install instead of ln
This commit is contained in:
parent
09617733cb
commit
c64fef4baf
@ -10,7 +10,9 @@ for f in $(all_files)
|
|||||||
do
|
do
|
||||||
install_path="${f#"$root"}"
|
install_path="${f#"$root"}"
|
||||||
mkdir -p "$(dirname "$install_path")"
|
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
|
done
|
||||||
|
|
||||||
# vim: set filetype=bash:
|
# vim: set filetype=bash:
|
||||||
|
Loading…
Reference in New Issue
Block a user