| Summary: | $VARIABLE include directories should be in paranthesis | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Roland Krause <rokrau> |
| Component: | Build tools: QMake | Assignee: | Andreas Pakulat <apaku> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.0.3 | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Roland Krause
2004-08-10 23:51:40 UTC
SVN commit 607017 by apaku:
Really fix replacing Shell variables, we need to add () around not {}
BUG: 86941
M +2 -2 scope.cpp
--- branches/kdevelop/3.4/buildtools/qmake/scope.cpp #607016:607017
@@ -700,8 +700,8 @@
}else if ( origValues.isEmpty() )
origValues.append(" ");
QString newval = *it;
- QRegExp re("\\$([^$\\{\\) /]*)( |\\)|/)");
- newval.replace(re, "${\\1}\\2");
+ QRegExp re("\\$([^$\\(\\)\\{\\} /]*)( |\\)|/)");
+ newval.replace(re, "$(\\1)\\2");
if( (newval).contains(" ") || (newval).contains("\t") || (newval).contains("\n") )
origValues.append( "\""+newval+"\"" );
else
|