X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fripemd%2Fasm%2Frmd-586.pl;h=e8b2bc2db2dee356f8d69951ad4fba75281e2921;hp=4f3c4c967f5146be91219395b5775d2ae33ccf47;hb=4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c;hpb=aff686df91d856511cf3570b7d8755300da22451 diff --git a/crypto/ripemd/asm/rmd-586.pl b/crypto/ripemd/asm/rmd-586.pl index 4f3c4c967f..e8b2bc2db2 100644 --- a/crypto/ripemd/asm/rmd-586.pl +++ b/crypto/ripemd/asm/rmd-586.pl @@ -5,7 +5,8 @@ $normal=0; -push(@INC,"perlasm","../../perlasm"); +$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; +push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; &asm_init($ARGV[0],$0);