files: be less verbose when linking a directory
This commit is contained in:
parent
35775b3bc5
commit
a4c0fead1f
|
@ -226,8 +226,8 @@ in
|
|||
fi
|
||||
|
||||
if [ -d "${v.source}" ]; then
|
||||
mkdir -pv "$(dirname "$out/${v.target}")"
|
||||
ln -sv "${v.source}" "$target"
|
||||
mkdir -p "$(dirname "$out/${v.target}")"
|
||||
ln -s "${v.source}" "$target"
|
||||
else
|
||||
install -D -m${v.mode} "${v.source}" "$target"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue