aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/asm/des-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/asm/des-586.pl')
-rw-r--r--crypto/des/asm/des-586.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/des/asm/des-586.pl b/crypto/des/asm/des-586.pl
index de60136..32282bd 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";