Fix up for newer local::lib versions
[catagits/Gitalist.git] / script / env
index d7c7686..78c367e 100755 (executable)
@@ -64,7 +64,9 @@ if ( $on ) {
     $ENV{PERL_MM_OPT} .= " INSTALLMAN1DIR=none INSTALLMAN3DIR=none";
 
     require local::lib;
-    local::lib->import( '--self-contained', $target );
+    require lib::core::only;
+    lib::core::only->import();
+    local::lib->import( $target );
 }
 
 unless ( caller ) {