brushtechnology / fabricate

The better build tool. Finds dependencies automatically for any language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fabricate misses dependencies when filenames contain quotes

GoogleCodeExporter opened this issue · comments

Use a file with a double quote character in it:
   sources = ['main', 'quot"quot']

The build will work but the .deps file will contain no dependencies for it:
    "gcc -c quot\\\"quot.c": {
        ".": "input-5058f1af8388633f609cadb75a75dc9d"
    }, 

The patch in attachment will have the correct dependencies returned:
    "gcc -c quot\\\"quot.c": {
        ".": "input-5058f1af8388633f609cadb75a75dc9d", 
        "quot\"quot.c": "input-bebd705168971749fb60d1a52f6bc5af", 
        "quot\"quot.o": "output-6cf3f4efada622e871113ce385de7de1"
    },

Original issue reported on code.google.com by tnagy1...@gmail.com on 26 Feb 2015 at 10:13

Attachments: