Fix the rb-site path in the generated search-cron.conf file.

Review Request #972 — Created Aug. 18, 2009 and submitted — Latest diff uploaded

Information

Review Board SVN (deprecated)

Reviewers

Fix the rb-site path in the generated search-cron.conf file.

We had a few issues with the generated search-cron.conf file. The first
line contained a missing quote, and on both lines the path to rb-site would
be invalid. We were using __file__ to get the path to rb-site, which no longer
works now that it's a Python module and not a standalone script. We now
generate the proper path depending on whether it's a .exe or a standard Python
file.
Verified that the generated config file was correct.