drush_make uses the --nocolor option to guess at the drush version. This recently broke:
http://drupalcode.org/viewvc/drupal/contributions/modules/drush/includes...

CommentFileSizeAuthor
#1 drush_make_detect_drush.diff646 bytesadrian
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adrian’s picture

Status: Active » Needs review
FileSize
646 bytes

This patch now checks for both the '-n, --nocolor' and '--nocolor' variants.

i've chosen to label the --nocolor variant as 2.2 , since that is what it will become most likely.

dmitrig01’s picture

Status: Needs review » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

anarcat’s picture

This sucks: we should have a better way to detect the Drush API. Like this: #683942: provide an API to detect the drush version.

anarcat’s picture

SteveK’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta8
Status: Closed (fixed) » Active

using the latest version of both drush (3.1) and drush make (2.0-beta8) and still getting this error.

$ drush make example.make example
Drush version 2.1 or higher is required for drush make to work.                                                  [error]
An error occurred at function : drush_drush_make_make                                                            [error]

drush works properly.

$ drush dl drupal
Project drupal (6.17) downloaded to /Users/admin/www/jibe-install-profile/.                                      [success]

drush make is located in ~/.drush/drush_make/ and drush is in ~/drush/

dmitrig01’s picture

what if you use 6.x-dev?

dmitrig01’s picture

Status: Active » Fixed

this is fixed in head i think, but feel free to repoen

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.