]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ripemd/asm/rmd-586.pl
Update perl asm scripts include paths for perlasm.
[thirdparty/openssl.git] / crypto / ripemd / asm / rmd-586.pl
index 4f3c4c967f5146be91219395b5775d2ae33ccf47..e8b2bc2db2dee356f8d69951ad4fba75281e2921 100644 (file)
@@ -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);