Use -n to ln(1) which is compatible with GNU ln(1).

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-11-16 23:27:44 +00:00
parent e06f502c9e
commit 7359fe7af4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290960

View file

@ -63,7 +63,7 @@ fi
# the remaining arguments are assumed to be files/dirs only.
if [ -n "${linkmode}" ]; then
if [ "${linkmode}" = "symbolic" ]; then
ln -fsh "$@"
ln -fsn "$@"
else
ln -f "$@"
fi