Use = not == in test arguments.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
parent
a9f2ac5902
commit
6d12634cba
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user