summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-06-04 00:44:46 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-06-04 00:44:46 +0000
commit26575434d3b55e918fc49f946dc0d19c7a390339 (patch)
tree908180ee856e39d757a4cb9b9b3cf511bd38e323 /doc
parent9afe07415c4f4c3907da327fabed2ced149e0b66 (diff)
downloadnasm-26575434d3b55e918fc49f946dc0d19c7a390339.tar.gz
nasm-26575434d3b55e918fc49f946dc0d19c7a390339.tar.bz2
nasm-26575434d3b55e918fc49f946dc0d19c7a390339.zip
Don't hard-code '.' as the current directory
Diffstat (limited to 'doc')
-rw-r--r--doc/genpsdriver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/genpsdriver.pl b/doc/genpsdriver.pl
index c2d8085..0136e3e 100644
--- a/doc/genpsdriver.pl
+++ b/doc/genpsdriver.pl
@@ -13,7 +13,7 @@ use File::Spec;
use Fcntl;
$perl = $ENV{'PERL'} || 'perl';
-$srcdir = $ENV{'srcdir'} || '.';
+$srcdir = $ENV{'srcdir'} || File::Spec->curdir();
$versionfile = File::Spec->catfile(File::Spec->updir($srcdir), 'version');
$genps = File::Spec->catfile($srcdir, 'genps.pl');