fix envi eq bug, use chomp

Signed-off-by: lisicheng <lisicheng2008@gmail.com>