aerostitch / testnavit

0 stars 0 forks source link

Build fails if build directory path contains space characters #290

Open aerostitch opened 7 years ago

aerostitch commented 7 years ago

Issue migrated from trac ticket # 1353

component: core | priority: major

2017-10-03 06:46:13: wiki.navit-project.org/index.php/user:naggety created the issue


Build fails if build directory path contains space characters.

It fails in the stage of gettext generating .mo files (no such file or directory)

I think that the error is in file po/CMakeLists.txt line 82. I think that ${CMAKE_CURRENT_BINARY_DIR} should not be quoted (it is quoted twice in that line).

If the directory path contains spaces, ${CMAKE_CURRENT_BINARY_DIR} contains the directory path with the spaces escaped with backslashes. If used inside normal quotes, the backslash is printed.

Try this in bash: STR1="Hi how are you"; STR2="Hi\ how\ are\ you"; echo $STR1; echo $STR2;

aerostitch commented 7 years ago

2017-10-03 07:35:57: @jkoan changed status from new to assigned

aerostitch commented 7 years ago

2017-10-03 07:35:57: @jkoan changed owner from KaZeR to http://wiki.navit-project.org/index.php/user:jkoan

aerostitch commented 7 years ago

2017-10-18 11:38:50: @jkoan