Make the test script tag parser a bit more robust.
Check for the .exe extension on mingw32 builds.
This commit is contained in:
Родитель
3bae748256
Коммит
6da70628c6
|
@ -64,7 +64,7 @@ sub getpart {
|
||||||
$inside++;
|
$inside++;
|
||||||
}
|
}
|
||||||
elsif((1 ==$inside) && ($_ =~ /^ *\<$part[ \>]/)) {
|
elsif((1 ==$inside) && ($_ =~ /^ *\<$part[ \>]/)) {
|
||||||
if($_ =~ /$part .*base64=/) {
|
if($_ =~ /$part [^>]*base64=/) {
|
||||||
# attempt to detect base64 encoded parts
|
# attempt to detect base64 encoded parts
|
||||||
$base64=1;
|
$base64=1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,6 +133,9 @@ if ($^O eq 'MSWin32' || $targetos) {
|
||||||
$binext = '.exe';
|
$binext = '.exe';
|
||||||
$libext = '.lib';
|
$libext = '.lib';
|
||||||
}
|
}
|
||||||
|
elsif ($targetos =~ /mingw32/) {
|
||||||
|
$binext = '.exe';
|
||||||
|
}
|
||||||
elsif ($targetos =~ /netware/) {
|
elsif ($targetos =~ /netware/) {
|
||||||
$configurebuild = 0;
|
$configurebuild = 0;
|
||||||
$binext = '.nlm';
|
$binext = '.nlm';
|
||||||
|
|
Загрузка…
Ссылка в новой задаче