Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java')
-rw-r--r--build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java b/build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java
index 0b482db4027..3b85f39c5a7 100644
--- a/build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java
+++ b/build/org.eclipse.cdt.cmake.core/src/org/eclipse/cdt/cmake/core/internal/CMakeUtils.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Red Hat Inc. - initial version
*******************************************************************************/
package org.eclipse.cdt.cmake.core.internal;
@@ -18,10 +18,10 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class CMakeUtils {
-
+
/**
* Parse a string containing environment variables into individual VAR=VALUE pairs.
- *
+ *
* @param envString - String to parse
* @return List of var=value Strings
*/
@@ -34,7 +34,7 @@ public class CMakeUtils {
while (!finished) {
Matcher m1 = p1.matcher(envString);
if (m1.matches()) {
- envString = envString.replaceFirst("\\w+[=]\\\".*?\\\"","").trim(); //$NON-NLS-1$ //$NON-NLS-2$
+ envString = envString.replaceFirst("\\w+[=]\\\".*?\\\"", "").trim(); //$NON-NLS-1$ //$NON-NLS-2$
String s = m1.group(1).trim();
envVars.add(s.replaceAll("\\\"", "")); //$NON-NLS-1$ //$NON-NLS-2$
} else {

Back to the top