aeppert / gyp

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

# character in filenames isn't escaped when generating Makefiles for rules #323

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone https://github.com/aroben/gyp-octothorpe-bug
2. cd gyp-octothorpe-bug
3. gyp --depth . test.gyp
4. xcodebuild

What is the expected output? What do you see instead?

You'll see an error such as the following:

PhaseScriptExecution "Rule \"text\"" 
build/test.build/Default/test.build/Script-EE1C1467972C3EE85A2CF66B.sh
    cd /Users/aroben/dev/gyp-octothorpe-bug
    /bin/sh -c /Users/aroben/dev/gyp-octothorpe-bug/build/test.build/Default/test.build/Script-EE1C1467972C3EE85A2CF66B.sh
/Users/aroben/dev/gyp-octothorpe-bug/test.xcodeproj/test_text.make:4: *** 
missing separator.  Stop.

What version of the product are you using? On what operating system?

Mac OS X 10.8.2, Xcode 4.6

Please provide any additional information below.

It looks like the # in the filename needs to be escaped in the 
test.xcodeproj/test_text.make file

Original issue reported on code.google.com by adam.ro...@gmail.com on 4 Mar 2013 at 4:29