[RFC 1/4] Fix i18n -o option in msvc engine.pl
The i18n 5e9637c6 introduced an extra '-o' option
into the make file, which broke engine.pl code for
extracting the git.sln for msvc gui-IDE.
add tests for 'msgfmt' and its precursor 'mkdir'
(in same vein as 74cf9bdda6). Signed-off-by: Philip Oakley <philipoakley@iee.org>
---
contrib/buildsystems/engine.pl | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/contrib/buildsystems/engine.pl b/contrib/buildsystems/engine.pl
index 23da787..9144ea7 100755
--- a/contrib/buildsystems/engine.pl
+++ b/contrib/buildsystems/engine.pl
@@ -140,6 +140,18 @@ sub parseMakeOutput
next;
}
+ if ($text =~ /^mkdir /) {
+ # options to the Portable Object translations in the line
+ # mkdir -p po/... && msgfmt ... (eg -o) may be mistaken for linker options
+ next;
+ }
+
+ if ($text =~ /^msgfmt /) {
+ # options to the Portable Object translations in the line
+ # mkdir -p po/... && msgfmt ... (eg -o) may be mistaken for linker options
+ next;
+ }
+
if($text =~ / -c /) {
# compilation
handleCompileLine($text, $line);
--
1.9.4.msysgit.0
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.