This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure might miss old directories when prefix must be
[perl5.git] / Configure
index ddec97c..2864e96 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -5521,13 +5521,12 @@ $cat > getverlist <<EOPL
 use File::Basename;
 \$api_versionstring = "$api_versionstring";
 \$version = "$version";
-\$sitelib = "$sitelib";
+\$stem = "$sitelib_stem";
 \$archname = "$archname";
 EOPL
        $cat >> getverlist <<'EOPL'
 # Can't have leading @ because metaconfig interprets it as a command!
 ;@inc_version_list=();
-$stem=dirname($sitelib);
 # XXX Redo to do opendir/readdir? 
 if (-d $stem) {
     chdir($stem);