From 0c9ac1b79ca5e0d57c0c73b1f20631042d923375 Mon Sep 17 00:00:00 2001 From: "dino.fizzotti" Date: Fri, 2 Jan 2015 13:53:13 +0200 Subject: [PATCH] Fixes builds where PATH has backslashes (Visual Studio interpets the next line as part of the comment) --- ms/do_vsproject.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ms/do_vsproject.pl b/ms/do_vsproject.pl index 01553caade24c..bf5fc6da2924d 100644 --- a/ms/do_vsproject.pl +++ b/ms/do_vsproject.pl @@ -213,7 +213,7 @@ sub processBatch{ my $var = (split('=',$words[1]))[0]; my $val = substr($line, $ind+1); $env{$var}=$val; - $function.=tab()."//set $var=$env{$var}\n"; + $function.=tab()."//set $var=\"$env{$var}\"\n"; next; } @@ -257,7 +257,7 @@ sub processBatch{ my $var = (split('=',$line))[0]; my $val = substr($line, $ind+1); $env{$var}=$val; - $function.=tab()."//$var=$env{$var}\n"; + $function.=tab()."//$var=\"$env{$var}\"\n"; next; } if(index($line,":")!=-1)