Mirwangsir / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Parentheses in variable strings are not escaped #426

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use <(SHARED_INTERMEDIATE_DIR) in an action, where the current path contains 
a directory with parentheses in the name.

What is the expected output? What do you see instead?
Parentheses should be escaped with \, but are not escaped, resulting in syntax 
error near unexpected token `('.

What version of the product are you using? On what operating system?
gyp v0.1 via node-gyp v0.13.0 on Mac OS X 10.9.2

Please provide any additional information below.
Hit this because of a Dropbox update that changes the name of a Dropbox for 
Business folder to Dropbox (CompanyName).
https://github.com/TooTallNate/node-gyp/issues/427

Original issue reported on code.google.com by michael....@gmail.com on 14 May 2014 at 4:51

GoogleCodeExporter commented 9 years ago
I ran into this exact problem after adding Dropbox for Business and getting the 
new parentheses in the folder names.

Original comment by david.re...@gmail.com on 18 Dec 2014 at 4:33