summaryrefslogtreecommitdiffstats
path: root/crypto/des/asm
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/des/asm
parentaff686df91d856511cf3570b7d8755300da22451 (diff)
Update perl asm scripts include paths for perlasm.
Diffstat (limited to 'crypto/des/asm')
-rw-r--r--crypto/des/asm/crypt586.pl3
-rw-r--r--crypto/des/asm/des-586.pl3
2 files changed, 4 insertions, 2 deletions
diff --git a/crypto/des/asm/crypt586.pl b/crypto/des/asm/crypt586.pl
index 0299884af7..e36f7d44bd 100644
--- a/crypto/des/asm/crypt586.pl
+++ b/crypto/des/asm/crypt586.pl
@@ -6,7 +6,8 @@
# things perfect.
#
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],"crypt586.pl");
diff --git a/crypto/des/asm/des-586.pl b/crypto/des/asm/des-586.pl
index de6013624f..32282bd5fc 100644
--- a/crypto/des/asm/des-586.pl
+++ b/crypto/des/asm/des-586.pl
@@ -4,7 +4,8 @@
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
#
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
require "cbc.pl";
require "desboth.pl";