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

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