summaryrefslogtreecommitdiff
path: root/devel/llvm37/files/openmp-patch-tools_openmp_runtime_tools_expand-vars.pl
blob: 9df4ab1c0a418c783f1b57b274b455a7bae87836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/openmp/runtime/tools/expand-vars.pl.orig	2014-02-24 10:40:15 UTC
+++ tools/openmp/runtime/tools/expand-vars.pl
@@ -113,7 +113,7 @@ $bulk = read_file( $input );
 
 # Do the replacements.
 $bulk =~
-    s{(?:\$($keyword_rexp)|\$($name_rexp)|\${{(.*?)}})}
+    s{(?:\$($keyword_rexp)|\$($name_rexp)|\$\{\{(.*?)\}\})}
     {
         my $value;
         if ( defined( $1 ) ) {