summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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');