fix bad bash code
Merge pull request #66 from rackerjoe/master

fix bad bash code