mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
fixed #122146
This commit is contained in:
@ -138,22 +138,22 @@ function discoverVersion()
|
||||
while (cf.AtEndOfStream != true) {
|
||||
ln = cf.ReadLine();
|
||||
s = new String(ln);
|
||||
if (s.search(/^LIBXSLT_MAJOR_VERSION/) != -1) {
|
||||
if (s.search(/^LIBXSLT_MAJOR_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMajorXslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
} else if(s.search(/^LIBXSLT_MINOR_VERSION/) != -1) {
|
||||
} else if(s.search(/^LIBXSLT_MINOR_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMinorXslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
} else if(s.search(/^LIBXSLT_MICRO_VERSION/) != -1) {
|
||||
} else if(s.search(/^LIBXSLT_MICRO_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMicroXslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
} else if (s.search(/^LIBEXSLT_MAJOR_VERSION/) != -1) {
|
||||
} else if (s.search(/^LIBEXSLT_MAJOR_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMajorExslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
} else if(s.search(/^LIBEXSLT_MINOR_VERSION/) != -1) {
|
||||
} else if(s.search(/^LIBEXSLT_MINOR_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMinorExslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
} else if(s.search(/^LIBEXSLT_MICRO_VERSION/) != -1) {
|
||||
} else if(s.search(/^LIBEXSLT_MICRO_VERSION=/) != -1) {
|
||||
vf.WriteLine(s);
|
||||
verMicroExslt = s.substring(s.indexOf("=") + 1, s.length)
|
||||
}
|
||||
|
Reference in New Issue
Block a user