commit 7fb54a400f0801222e6d204598b6e3c0f6f713c1
parent 47969cdee3490d3315013058534f1d1f065a312c
Author: pink-mist <andreas.guldstrand@gmail.com>
Date: Sat, 27 Apr 2019 11:46:27 +0200
Merge pull request #78 from pedrormjunior/leftbrace
escape left brace after perl update
Closes #77.
Closes #75.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SBO-Lib/lib/SBO/Lib/Build.pm b/SBO-Lib/lib/SBO/Lib/Build.pm
@@ -241,7 +241,7 @@ sub get_dc_regex {
# convert any instances of command substitution to [^-]+
$line =~ s/\$\([^)]+\)/[^-]+/g;
# convert any bash variables to [^-]+
- $line =~ s/\$({|)[A-Za-z0-9_]+(}|)/[^-]+/g;
+ $line =~ s/\$(\{|)[A-Za-z0-9_]+(}|)/[^-]+/g;
# get rid of anything excess at the end
$line =~ s/\s+.*$//;
# fix .?z* at the end