]> granicus.if.org Git - postgresql/commitdiff
MSVC: Add "use File::Path qw(rmtree)".
authorNoah Misch <noah@leadboat.com>
Wed, 29 May 2019 02:28:36 +0000 (19:28 -0700)
committerNoah Misch <noah@leadboat.com>
Wed, 29 May 2019 02:28:36 +0000 (19:28 -0700)
My back-patch of commit 10b72deafea5972edcafb9eb3f97154f32ccd340 added
calls to File::Path::rmtree(), but v10 and older had not been importing
that symbol.  Back-patch to v10, 9.6 and 9.5.

src/tools/msvc/vcregress.pl

index 122431439ae7504b2134e36c9beab943d7b74afb..f3ac00d5ad70c771a389f0d3fa30f0c75b33dd2c 100644 (file)
@@ -10,6 +10,7 @@ use Cwd;
 use File::Basename;
 use File::Copy;
 use File::Find ();
+use File::Path qw(rmtree);
 use File::Spec;
 BEGIN  { use lib File::Spec->rel2abs(dirname(__FILE__)); }