Fixed bug in setup.sh
Merge pull request #1263 from psav/fix_setup_sh

Fixed bug in setup.sh