Fixed Bash script.

Signed-off-by: Paulo Pires <pjpires@gmail.com>