Commits

Anonymous committed 5aced2a

Updated the CPAN Smoke-AutoSetup to use CPANPLUS::YACSmoke .

Comments (0)

Files changed (1)

first-rev/SmokeAuto.pm

 # my $perl_arc = "$perl_dir.tar.bz2";
 my $perl_arc = "$perl_dir.tar.gz";
 my $perl_exe = "$inst_path/bin/perl";
+my $yacsmoke = "CPANPLUS::YACSmoke";
 
 sub exec_program
 {
         ExtUtils::CBuilder
         Module::Build
         CPANPLUS::Dist::Build
-        CPAN::YACSmoke
-        ))
+        ),
+        $yacsmoke,
+    )
     {
         install_module($m);
     }
 sub smoke
 {
     run_in_env(sub {
-        exec_program($perl_exe, "-MCPAN::YACSmoke", "-e", "test");
+        exec_program(
+            $perl_exe, "-M".$yacsmoke, "-e", $yacsmoke."::test()"
+        );
     });
 }