Changeset 996 for trunk/qmake/generators/os2/gnumake.cpp
- Timestamp:
- Aug 17, 2011, 4:21:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r992 r996 74 74 // we assume that make variables contain paths already properly escaped 75 75 if (!path.contains(QRegExp("\\$\\(([^$)]+)\\)"))) { 76 ret = Option::fixPathToTargetOS(path, false);77 76 if (!isDosLikeShell()) { 78 77 ret.remove('\"'); … … 81 80 } else { 82 81 ret.replace(QRegExp("\""), ""); 83 ret.replace( QRegExp("[\\\\/]$"), "");82 ret.replace(); 84 83 if (ret.contains(QRegExp("[ +&;%]"))) 85 84 ret = quote + ret + quote; … … 107 106 // other places (e.g. .cpp targets); this function will do it for 108 107 // QMAKE_EXTRA_TARGETS as well 109 ret = Option::fixPathToTargetOS(ret, false);110 108 if (!isDosLikeShell()) 111 109 ret.replace('\\', '/'); 110 111 112 112 } 113 113 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.