[Bps-public-commit] smokingit-worker branch, master, updated. e9fa5345bbe35efe1c94547642082507b935c533

Alex Vandiver alexmv at bestpractical.com
Thu Nov 14 21:04:18 EST 2013


The branch, master has been updated
       via  e9fa5345bbe35efe1c94547642082507b935c533 (commit)
      from  c108c72c53f7a52c5a672b820a97861b1e5e1f72 (commit)

Summary of changes:
 lib/Smokingit/Worker.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit e9fa5345bbe35efe1c94547642082507b935c533
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Nov 14 21:04:14 2013 -0500

    Fix the regex

diff --git a/lib/Smokingit/Worker.pm b/lib/Smokingit/Worker.pm
index e7351d5..6dbccc6 100644
--- a/lib/Smokingit/Worker.pm
+++ b/lib/Smokingit/Worker.pm
@@ -158,7 +158,7 @@ sub run_tests {
     for my $line (split /\n/, $env) {
         $line =~ s/\s*$//;
         my ($var, $val) = split /\s*[:=\s]\s*/, $line, 2;
-        $val =~ s/$(\w+)/$ENV{$1}/g;
+        $val =~ s/\$(\w+)/$ENV{$1}/g;
         warn "Setting $var=$val\n";
         $ENV{$var} = $val;
     }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list