Changeset 98d4bf1 in rtems-eclipse-plug-in


Ignore:
Timestamp:
Mar 18, 2009, 1:53:00 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
632d9ac
Parents:
ccd7d5c
Message:

Support space characters in paths and options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • org.rtems.cdt/src/org/rtems/cdt/Storage.java

    rccd7d5c r98d4bf1  
    269269
    270270                // Set command line
    271                 String makeArgument = Constants.BSP_PATH_MAKE_VARIABLE + "=" + bspPath;
     271                String makeArgument = Constants.BSP_PATH_MAKE_VARIABLE + "=" + bspPath.replaceAll( " ", "\\\\ ");
    272272                pb.command(
    273273                        make.toOSString(),
     
    380380                }
    381381                for (String option : filteredOptions) {
     382                        if (option.indexOf( ' ') != -1) {
     383                                option = "\"" + option + "\"";
     384                        }
    382385                        optionsValue += OPTION_SEPARATOR + option;
    383386                }
Note: See TracChangeset for help on using the changeset viewer.