I have build smartfrog and everything went well but when i go to start sfDaemon i get:

fivosk@fivosk-OptiPlex-GX280:~/smartFrog/smartfrog/bin$ sh sfDaemon
: not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found3: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found6: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found3: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found6: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found7: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
: not found8: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties:
sfDaemon: 53: /home/fivosk/smartFrog/smartfrog/bin/setSFDefaultProperties: Syntax error: "fi" unexpected (expecting "then")

any help will be appreciated. The if syntax seems ok ...