Update perl asm scripts include paths for perlasm.
[openssl.git] / crypto / md5 / asm / md5-586.pl
index 76ac235f7d035e388d925847445a2fcbafcd6de6..6cb66bb49991500f88bdfe0c79b81ffbd137d7ce 100644 (file)
@@ -7,7 +7,8 @@
 
 $normal=0;
 
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
 
 &asm_init($ARGV[0],$0);