Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Fixes builds where environment variable has backslashes #3

Merged
merged 1 commit into from
Jan 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ms/do_vsproject.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
Expand Down