Don't use [[ because sh does not support it

Signed-off-by: ChangZhuo Chen (陳昌倬) <czchen@gmail.com>