Fixed Bash script.

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