diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-06-04 00:44:46 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-06-04 00:44:46 +0000 |
commit | 26575434d3b55e918fc49f946dc0d19c7a390339 (patch) | |
tree | 908180ee856e39d757a4cb9b9b3cf511bd38e323 /doc | |
parent | 9afe07415c4f4c3907da327fabed2ced149e0b66 (diff) | |
download | nasm-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.pl | 2 |
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'); |