Menu

#249 Custom build commands broken by nonsensical quotes

Next_Nightly
fixed
macros (3)
Bug_Report
2016-01-30
2015-11-12
Riot
No

When using a custom build command, the substitution variable $file_ext receives a surplus double quote at the end, which completely prevents custom build commands from working correctly.

Custom build command as follows:

Produces the following call:
echo myfile.myextension"
(note the unrequested trailing double quote).

Version is svn 10035 on Windows XP.

Other inconsistencies in quotes in custom build commands:

  1. $file resolves to "fully_quoted_filename.extension" (quotes around full string)
  2. $file_dir looks like \\"C\mydirectory (double backslash and quote at the start)
  3. $file_name, $object etc are unquoted (as they should be)

I would suggest this is a very high priority, as the entire custom build command functionality is not functional on windows with this bug. The bug does not appear to exist on linux or OS X.

Discussion

  • Teodor Petrov

    Teodor Petrov - 2015-11-12

    Can you try any of the latest nightlies? r10035 is old...

     
  • Morten MacFly

    Morten MacFly - 2015-11-15

    I can reproduce. Its a Windows only issue.
    I've attached a sample to reproduce and taking over.
    This should have high priority.

     
  • Morten MacFly

    Morten MacFly - 2015-11-15
    • labels: --> macros
    • status: open --> accepted
    • assigned_to: Morten MacFly
    • Type: Undefined --> Bug_Report
    • Milestone: Undefined --> Next Nightly
     
  • Morten MacFly

    Morten MacFly - 2015-11-15

    Fixed in trunk. Thanks for reporting!

     
  • Morten MacFly

    Morten MacFly - 2015-11-15
    • status: accepted --> fixed
     

Log in to post a comment.