? .kdev4
? project_issue_file_review-2.2.kdev4
Index: review/drupal/pifr_drupal.client.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/review/drupal/pifr_drupal.client.inc,v
retrieving revision 1.9
diff -u -p -r1.9 pifr_drupal.client.inc
--- review/drupal/pifr_drupal.client.inc	27 Jan 2010 02:11:33 -0000	1.9
+++ review/drupal/pifr_drupal.client.inc	7 Jan 2011 21:31:01 -0000
@@ -146,7 +146,9 @@ class pifr_client_review_pifr_drupal ext
     }
     else {
       // Called as operation.
-      $directory = !empty($this->test['vcs']['dependencies']) ? $this->module_directory . '/' . $this->project_directory : NULL;
+      // If the main project is not Drupal core then all patches should be
+      // applied from the root of the primary dependency or project directory.
+      $directory = !empty($this->project_directory) ? $this->module_directory . '/' . $this->project_directory : NULL;
       parent::apply($this->checkout_directory . '/' . $directory);
     }
   }
