]> granicus.if.org Git - fortune-mod/commitdiff
switch to rinutils cmake/pkgconf package
authorShlomi Fish <shlomif@shlomifish.org>
Wed, 18 Dec 2019 11:33:41 +0000 (13:33 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Wed, 18 Dec 2019 11:33:41 +0000 (13:33 +0200)
CI-testing/continuous-integration-testing.pl

index a549f3e4a9a706a923d932fea9d540dbb28f4b6f..7d8ed1f842e9efd5c776acc6089eabb3eaff3a58 100644 (file)
@@ -5,6 +5,7 @@ use warnings;
 use autodie;
 
 use Getopt::Long qw/GetOptions/;
+use Path::Tiny qw/ path tempdir tempfile cwd /;
 
 sub do_system
 {
@@ -32,6 +33,7 @@ if ( defined $cmake_gen )
 {
     $ENV{CMAKE_GEN} = $cmake_gen;
 }
+my $cwd = cwd();
 mkdir('B');
 chdir('B');
 if ( !$ENV{SKIP_RINUTILS_INSTALL} )
@@ -76,6 +78,8 @@ if ($IS_WIN)
         ";/foo/lib/pkgconfig/;/c/foo/lib/pkgconfig/";
     $ENV{RINUTILS_INCLUDE_DIR} = "C:/foo/include";
 }
+chdir($cwd);
+$cwd->child('B')->remove_tree;
 do_system(
     {
         cmd => [