Fixed Bash script.

Signed-off-by: Paulo Pires <pjpires@gmail.com>
Merge pull request #3 from pires/master

Fixed Bash script.