Respect old sh implementations.

Signed-off-by: ushi <ushi@porkbox.net>