# only one directory is installed into.
foreach my $dir ("$tmp/$vendorlib", "$tmp/$vendorarch") {
if (-d $dir) {
doit("rmdir", "--ignore-fail-on-non-empty", "--parents",
# doit("rmdir", "--ignore-fail-on-non-empty", "--parents",
"$dir");
doit_noerror("rmdir", "$dir");
}