Closed (fixed)
Project:
Sasson
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2012 at 01:40 UTC
Updated:
27 Oct 2012 at 23:41 UTC
Jump to comment: Most recent file
Coming back to Sasson and this caught me again so I thought I'd get around to filling an issue :)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drush-sns-sass-path-1744988.patch | 2.54 KB | mxmilkiib |
Comments
Comment #1
mxmilkiib commentedComment #2
tsi commentedThis was implemented long time ago, so I don't know what to say...
This is how we do it (/includes/sasson.drush.inc) :
can you explain what exactly is happening ?
Comment #3
mxmilkiib commentedApologies, was rather tired last night, got myself mixed up.
The subtheme installs into the right place, but the sasson_watch_file path in the newsubtheme.info is incorrect.
settings[sasson_watch_file] = 'sites/all/themes/test/stylesheets/test.scss'when test is in sites/mysite.com/themes/test
sasson.drush.inc has;
drush_op('sasson_file_str_replace', "$subtheme_path/$machine_name.info", 'SUBTHEME', "$machine_name");A more specific path replacement at that point would sort it.
Comment #4
tsi commentedI see, so the issue is only with an editable placeholder that is only there as an example.
It *is* a valid issue but no biggie :)
Patches anyone ?
Comment #5
mxmilkiib commentedMy first patch, think this does it right..
n.b. It didn't activate or set the theme correctly before, and it still doesn't yet, but "drush_pm_enable($machine_name);" looks legit..
Comment #6
tsi commentedSorry, don't know how I've missed this.
Committed and fixed. thanks.
http://drupal.org/commitlog/commit/31168/8092dd353d1715d7c5c1379ea867c78...