ld: fix POSIX shell test usage

POSIX test uses = for compares, not == which is a bashism.
2 files changed