Under D5, preg_match throws an error when running drush_scan_directory() called from drush_core_find_project_path()

It looks like the definition for $theme_suffix contains a typo - forward slash instead of backslash.

Should read:

function drush_core_find_project_path($target) {
  $theme_suffix = drush_drupal_major_version() >= 6 ? '.info' : '\style.css';

Patch attached (although not created from CVS - sorry).

CommentFileSizeAuthor
drush_core_find_project_path.D5.patch560 bytesjfall

Comments

greg.1.anderson’s picture

Version: All-versions-4.2 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.