files: be less verbose when linking a directory

This commit is contained in:
Robert Helgesson 2017-10-29 01:21:40 +02:00
parent 35775b3bc5
commit a4c0fead1f
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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