summaryrefslogtreecommitdiffstats
path: root/crypto/x86cpuid.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
commit4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c (patch)
tree328056764c4a9c99714f52e0a314f048c8776f59 /crypto/x86cpuid.pl
parentaff686df91d856511cf3570b7d8755300da22451 (diff)
Update perl asm scripts include paths for perlasm.
Diffstat (limited to 'crypto/x86cpuid.pl')
-rw-r--r--crypto/x86cpuid.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl
index 0fb0657fa7..c329111203 100644
--- a/crypto/x86cpuid.pl
+++ b/crypto/x86cpuid.pl
@@ -1,6 +1,7 @@
#!/usr/bin/env perl
-push(@INC,"perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC, "${dir}perlasm", "perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],"x86cpuid");