TNL ~> drush -r /usr/local/www/dividential.com/www/ @sites status
You are about to execute 'status' on all of the following targets:
  /usr/local/www/dividential.com/www#fin-n-feather.com
  /usr/local/www/dividential.com/www/#rf3.therenolimits.com
  /usr/local/www/dividential.com/www#distinctivefineartglass.com
  /usr/local/www/dividential.com/www/#distinctivefineartglass.com
  /usr/local/www/dividential.com/www#oldtowncoffeeeureka.com
  /usr/local/www/dividential.com/www#benjaminarms.com
  /usr/local/www/dividential.com/www/#benjaminarms.com
  […]
Continue?  (y/n): 

So basically it lists every site twice, once with a slash at the end of the path and once without, in whatever order it's finding them. If I answer with y, it will indeed run the command twice on each site, in order. Leaving the slash off the end of the -r parameter causes Drush to behave as expected.

I tried various tweaks to correct this behavior, but everything I tried either didn't work or would cause Drush to only execute on the default site, as if the @sites alias were being ignored - so I guess I don't know enough about Drush's guts at this point to fix it myself.

Comments

greg.1.anderson’s picture

I could not reproduce this. As a workaround, try the relative alias syntax: drush /usr/local/www/dividential.com/www/@sites status. That should work.

Garrett Albright’s picture

Well, the workaround I'm using is just not to have a slash at the end of the -r param, so I'm doing okay in that regard.

I'm surprised you can't replicate it, though. I just gave it another try and it's still happening. Can you get it to happen if you do it this way?:

php -f /path/to/drush.php -- -r /path/to/drupal/ @sites status

roball’s picture

Status: Active » Fixed

Also cannot reproduce this behaviour with Drush 3.3. Thus it seems the problem has already been fixed.

Status: Fixed » Closed (fixed)

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