X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=blobdiff_plain;f=lib%2Flocal%2Flib.pm;h=5741fa15ce04d84370b57e939828c9065d9b498c;hp=1dcf4717eb9dc8a0f344665a33346c93f4bebd4e;hb=f22d40d72d57fdc8783274558f138cc1189d8be5;hpb=a92eab5fc4ba0c71bfa8bd2ac3b7d3efc79b1b36 diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 1dcf471..5741fa1 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -208,7 +208,8 @@ sub setup_local_lib_for { my $interpolate = LITERAL_ENV; my @active_lls = $class->active_paths; - $class->ensure_dir_structure_for($path); + $class->ensure_dir_structure_for($path) + unless $deactivating; # On Win32 directories often contain spaces. But some parts of the CPAN # toolchain don't like that. To avoid this, GetShortPathName() gives us