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

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2015-11-16 23:27:44 +00:00
parent ee4d679462
commit 47e0769b9e

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