Wireshark-bugs: [Wireshark-bugs] [Bug 1413] SVN version detection doesn't work if svn is not fou

Date: Sun, 18 Jan 2009 07:06:30 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1413





--- Comment #17 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2009-01-18 07:06:29 PDT ---
This should do it... but is it portable?

Index: make-version.pl
===================================================================
--- make-version.pl     (revision 27259)
+++ make-version.pl     (working copy)
@@ -118,7 +118,7 @@
                if (!$version_pref{"svn_client"}) {
                        close ENTRIES;
                }
-               $line = qx{svn info $srcdir};
+               $line = qx{LANGUAGE=C svn info $srcdir};
                if ($line =~ /Last Changed Date: (\d{4})-(\d\d)-(\d\d)
(\d\d):(\d\d):(\d\d)/) {
                        $last_change = timegm($6, $5, $4, $3, $2 - 1, $1);
                }


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.