summaryrefslogtreecommitdiff
path: root/vs_postclean.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vs_postclean.pl')
-rwxr-xr-xvs_postclean.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/vs_postclean.pl b/vs_postclean.pl
index 01d7a111..30e0de3e 100755
--- a/vs_postclean.pl
+++ b/vs_postclean.pl
@@ -61,6 +61,7 @@ sub read_proj {
close($fh);
}
+ ## Convert frequently used XML sequences to plain characters.
$cmd =~ s/&/&/g;
$cmd =~ s/"/\'/g;
$cmd =~ s/>/>/g;
@@ -122,7 +123,8 @@ if ($ARGV[0] =~ /^CFG=(.+)/) {
foreach my $file (@ARGV) {
if (substr($file, -4, 4) eq '.sln') {
clean_sln($cfg, $file);
- } else {
+ }
+ else {
clean_proj($cfg, $file);
}
}