Use = not == in test arguments.

Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
brooks 2013-01-24 20:47:37 +00:00
parent cd3fe29726
commit aaba5893d6

View File

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