This is a work-around to cope with smokers that are not deleting directories
that have been moved.
my $mname = $spec;
$mname =~ s!/!::!g;
my $ext_pathname;
- if (-d "ext/$spec") {
+ if (-d "ext/$spec"
+ # Temporary hack to cope with smokers that are not clearing directories:
+ && $spec =~ m!/!
+ ) {
# Old style ext/Data/Dumper/
$ext_pathname = "ext/$spec";
} else {