Use = not == in test arguments.

Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
Brooks Davis 2013-01-24 20:47:37 +00:00
parent a9f2ac5902
commit 6d12634cba

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