Use = not == in test arguments.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
This commit is contained in:
parent
cd3fe29726
commit
aaba5893d6
@ -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