*** empty log message ***

svn path=/trunk/boinc/; revision=605
This commit is contained in:
Hamid Aghdaee 2002-11-13 00:25:19 +00:00
parent 4c59031c46
commit b8412f8254
1 changed files with 6 additions and 4 deletions

View File

@ -199,7 +199,7 @@ class Project {
$app = $app_version->app;
if ($app->name == "core client") {
$dir = "$source_dir/client";
$exec_name = sprintf("boinc_%d.%02d_%s", get_env_var("BOINC_MAJOR_VERSION"), get_env_var("BOINC_MINOR_VERSION"), $app_version->platform_name);
$exec_name = sprintf("boinc_%d.%d_%s", get_env_var("BOINC_MAJOR_VERSION"), get_env_var("BOINC_MINOR_VERSION"), $app_version->platform_name);
} else {
$dir = "$source_dir/apps";
$exec_name = $app_version->exec_name;
@ -433,8 +433,8 @@ class Host {
echo "\nRunning core client asynch\n";
$source_dir = get_env_var("BOINC_SRC_DIR");
$platform = get_env_var("BOINC_PLATFORM");
PassThru("cd $this->host_dir; $source_dir/client/boinc_0.02_$platform $args > client.out");
$exec_name = sprintf("boinc_%d.%d_%s", get_env_var("BOINC_MAJOR_VERSION"), get_env_var("BOINC_MINOR_VERSION"), $platform);
PassThru("cd $this->host_dir; $source_dir/client/$exec_name $args > client.out");
exit(0);
}
}
@ -451,10 +451,12 @@ class Host {
}
function run($args)
{
echo "\nRunning core client\n";
$source_dir = get_env_var("BOINC_SRC_DIR");
$platform = get_env_var("BOINC_PLATFORM");
PassThru("cd $this->host_dir; $source_dir/client/boinc_0.02_$platform $args > client.out");
$exec_name = sprintf("boinc_%d.%d_%s", get_env_var("BOINC_MAJOR_VERSION"), get_env_var("BOINC_MINOR_VERSION"), $platform);
PassThru("cd $this->host_dir; $source_dir/client/$exec_name $args > client.out");
}
// read a CPU time file written by the client.
// This is sort of a kludge.