Fix some mistake of common.sh
Merge pull request #137 from NFLabs/update_shell_common

Fix some mistake of common.sh