cms-test.pl: use EXE_EXT (from HEAD).
authorAndy Polyakov <appro@openssl.org>
Thu, 26 Nov 2009 21:12:12 +0000 (21:12 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 26 Nov 2009 21:12:12 +0000 (21:12 +0000)
PR: 2107

test/cms-test.pl

index ea7c2bd..6ad7883 100644 (file)
 
 my $ossl_path;
 
-if ( -f "../apps/openssl" ) {
+if ( -f "../apps/openssl$ENV{EXE_EXT}" ) {
     $ossl_path = "../util/shlib_wrap.sh ../apps/openssl";
 }
-elsif ( -f "../apps/openssl.exe" ) {
-    $ossl_path = "../util/shlib_wrap.sh ../apps/openssl.exe";
-}
 elsif ( -f "..\\out32dll\\openssl.exe" ) {
     $ossl_path = "..\\out32dll\\openssl.exe";
 }