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