Hi there,

Thanks for the awesome theme, I'm loving it.

Just a small bug I noticed. If I try to run "drush fst" from outside the docroot via an alias, eg

drush @mysite.local fst awesomenewtheme

I get an error message:

Source directory /sites/all/themes/zurb-foundation/STARTER/ is not readable or does not exist.

It works fine if I cd to the docroot and run from there.

Comments

kevinquillen’s picture

Version: 7.x-4.0 » 7.x-5.x-dev
erlendoos’s picture

Same problem at 4.x branch

FiLeVeR10’s picture

@erlendoos is the alias you're trying to use listed when you run drush sa ?

kevinquillen’s picture

I am going to guess the problem lies around here when using it outside of the docroot:

  // Find theme paths.
  $zurb_path = drush_locate_root() . '/' . drupal_get_path('theme', 'zurb_foundation');
  $subtheme_path = dirname($zurb_path) . '/' . $machine_name;
  $relative_path = str_replace('zurb-foundation', $machine_name, drupal_get_path('theme', 'zurb_foundation'));
kevinquillen’s picture

Assigned: Unassigned » kevinquillen

  • kevinquillen committed 7bcab1a on 7.x-5.x
    Fixes Drush FST issues with Drush aliases for [#2238181]
    
kevinquillen’s picture

  • kevinquillen committed f36968d on 7.x-4.x
    Fixes Drush FST issues with Drush aliases for [#2238181]
    
kevinquillen’s picture

Status: Active » Fixed

Applied same change to 4.x.

kevinquillen’s picture

Status: Fixed » Closed (fixed)