/[Apache-SVN]/spamassassin/trunk/build/automc/run_preflight
ViewVC logotype

Diff of /spamassassin/trunk/build/automc/run_preflight

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- spamassassin/trunk/build/automc/run_preflight	2005/10/19 01:52:30	326322
+++ spamassassin/trunk/build/automc/run_preflight	2005/10/19 01:53:06	326323
@@ -3,8 +3,10 @@
 use strict;
 sub run;
 
+my $perl = $0;
+
 # build, as necessary
-run "perl Makefile.PL < /dev/null";
+run "$perl Makefile.PL < /dev/null";
 run "make";
 
 chdir "masses" or die;
@@ -20,8 +22,8 @@ warn "using corpus targets file: $target
 # this is run in a chroot jail, just in case there's hostile
 # rule code in there...
 
-run "/local/bbmasstools/masschroot ./mass-check ".
-    "--cache --progress -j=1 -f $targets";
+run "/local/bbmasstools/masschroot $perl ".
+    "mass-check --cache --progress -j=1 -f $targets";
 
 exit;
 

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26