From 362b4fd6193f00a47c7d1c46e6a8efb6b734cdc1 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Tue, 25 Mar 2014 00:44:04 -0400 Subject: [PATCH] Team import bug Added quotes around team import script path to handle spaces (DBOINCP-59) --- .../sites/default/boinc/modules/boincimport/boincimport.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drupal/sites/default/boinc/modules/boincimport/boincimport.module b/drupal/sites/default/boinc/modules/boincimport/boincimport.module index f657c44316..53aef8a611 100644 --- a/drupal/sites/default/boinc/modules/boincimport/boincimport.module +++ b/drupal/sites/default/boinc/modules/boincimport/boincimport.module @@ -661,7 +661,7 @@ function boincimport_teams() { // Save the team type affiliation $tid = $team_type_map[$boincteam->type]; - $memberships_assigned = (int) exec("php {$team_import_script} {$boincteam->id} {$tid} {$input_format}"); + $memberships_assigned = (int) exec("php '{$team_import_script}' {$boincteam->id} {$tid} {$input_format}"); // Keep a running tally of things and provide occasional status updates $teams_imported++;