Update perl asm scripts include paths for perlasm.
[openssl.git] / crypto / bf / asm / bf-586.pl
index b556642..b74cfba 100644 (file)
@@ -1,6 +1,7 @@
 #!/usr/local/bin/perl
 
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
 require "cbc.pl";