Bug #1240

rst-proto fails to build Python stuff for certain pathnames

Added by J. Moringen over 11 years ago. Updated over 11 years ago.

Status:ResolvedStart date:11/17/2012
Priority:LowDue date:
Assignee:J. Moringen% Done:

100%

Category:Build System
Target version:Robotics Service Bus - rsb-0.9

Description

cmake -{E,P} is used with unprotected pathname arguments (on the shell level). This fails for pathnames containing syntactically relevant characters such as "&".

This wouldn't normally be a problem, but our assignment of slaves based on label expressions produces workspace directories like
/home/jenkins/workspace/rst-trunk-merge-simulator/label/32bit&&(ubuntu-previous-lts||ubuntu-lts)

Associated revisions

Revision c8c15a3a
Added by J. Moringen over 11 years ago

Protect pathnames properly in python/CMakeLists.txt

fixes #1240

Previously, cmake -{E,P} was used with unprotected pathname
arguments (on the shell level). This failed for pathnames containing
syntactically relevant characters such as "&"

  • python/CMakeLists.txt: for uses of cmake -{E,P}, escaped all
    pathname arguments for the shell

History

#1 Updated by J. Moringen over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset rst-proto|commit:c8c15a3a1cca2f0ca475c28b1c32fc9b600e0253.

Also available in: Atom PDF