Ticket #230: gnumake.diff

File gnumake.diff, 457 bytes (added by rudi, 9 years ago)

Proposed patch

  • gnumake.cpp

     
    7878    } else {
    7979        ret.replace(QRegExp("\""), "");
    8080        ret.replace(QRegExp("[\\\\/]$"), "");
    81         if (ret.contains(QRegExp("[ +&;%]")))
     81        if (!ret.startsWith("$(") && ret.contains(QRegExp("[ +&;%]")))
    8282            ret = quote + ret + quote;
    8383    }
    8484    return ret;