Skip to content

Commit

Permalink
vcxsources.sh: sometimes you get a file with '">' appended. Clean tha…
Browse files Browse the repository at this point in the history
…t out.
  • Loading branch information
icculus committed Oct 29, 2017
1 parent 0cacad5 commit d12ca9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcxsources.sh
Expand Up @@ -5,7 +5,7 @@ if [ -z "$1" ]; then
exit 1
fi

grep 'ClCompile' "$1" |perl -w -p -e 's/\A\s+\<\/?ClCompile\>//;s/\r//g; s/\A\s*\<ClCompile Include="//; s#"\s*/\>##; s#\\#/#g; s/\A\n\Z//;' |sort |uniq
grep 'ClCompile' "$1" |perl -w -p -e 's/\A\s+\<\/?ClCompile\>//;s/\r//g; s/\A\s*\<ClCompile Include="//; s#"\s*/\>##; s#"\s*\>##; s#\\#/#g; s/\A\n\Z//;' |sort |uniq
exit 0


0 comments on commit d12ca9f

Please sign in to comment.