diff --git a/tasks/converter/less_conversion.rb b/tasks/converter/less_conversion.rb index 2806fa81..fd197cab 100644 --- a/tasks/converter/less_conversion.rb +++ b/tasks/converter/less_conversion.rb @@ -111,7 +111,7 @@ class Converter when 'thumbnails.less', 'labels.less', 'badges.less' file = extract_nested_rule file, 'a&' when 'glyphicons.less' - file = bootstrap_font_files.map { |p| %Q(//= depend_on_asset "./../../fonts/bootstrap/#{File.basename(p)}") } * "\n" + "\n" + file + file = bootstrap_font_files.map { |p| %Q(//= depend_on "bootstrap/#{File.basename(p)}") } * "\n" + "\n" + file file = replace_rules(file, '@font-face') { |rule| rule = replace_all rule, /(\$icon-font(?:-\w+)+)/, '#{\1}' replace_asset_url rule, :font diff --git a/vendor/assets/stylesheets/bootstrap/_glyphicons.scss b/vendor/assets/stylesheets/bootstrap/_glyphicons.scss index 03c980f2..0f6ad345 100644 --- a/vendor/assets/stylesheets/bootstrap/_glyphicons.scss +++ b/vendor/assets/stylesheets/bootstrap/_glyphicons.scss @@ -1,7 +1,7 @@ -//= depend_on_asset "./../../fonts/bootstrap/glyphicons-halflings-regular.eot" -//= depend_on_asset "./../../fonts/bootstrap/glyphicons-halflings-regular.svg" -//= depend_on_asset "./../../fonts/bootstrap/glyphicons-halflings-regular.ttf" -//= depend_on_asset "./../../fonts/bootstrap/glyphicons-halflings-regular.woff" +//= depend_on "bootstrap/glyphicons-halflings-regular.eot" +//= depend_on "bootstrap/glyphicons-halflings-regular.svg" +//= depend_on "bootstrap/glyphicons-halflings-regular.ttf" +//= depend_on "bootstrap/glyphicons-halflings-regular.woff" // // Glyphicons for Bootstrap //