mozilla-services/android-sync — comment on commit 1e92a23dbd87bc573aa00a4085ecd0d7e61287f1
File: preprocess.sh line 8
By marina-samuel:

Without underscores, I get the following error:

Traceback (most recent call last):
File "tools/Preprocessor.py", line 477, in
main()
File "tools/Preprocessor.py", line 462, in main
pp.handleCommandLine(None, True)
File "tools/Preprocessor.py", line 168, in handleCommandLine
self.do_include(f)
File "tools/Preprocessor.py", line 430, in do_include
raise Preprocessor.Error(self, 'FILE_NOT_FOUND', str(args))
__main__.Error: ('', 0, 'FILE_NOT_FOUND', '/Users/marinasamuel/android-sync-project/android-sync/Sync')

When executing line 21: `$PREPROCESSOR $DISPLAYNAME_DEF $CLIENT_NAME.in > $CLIENT_NAME`
Preprocessor.py reads "Firefox" as the first argument and sees "Sync" as a second argument which is expected to be in the form of a file.

Wasn't sure what can be done within the script to avoid this.