]> git.ipfire.org Git - thirdparty/Font-Awesome.git/commit
LESS: wrong relative font path 3138/head
authorAndy Freeland <andy.freeland@redjack.com>
Tue, 25 Mar 2014 21:31:06 +0000 (17:31 -0400)
committerAndy Freeland <andy.freeland@redjack.com>
Tue, 25 Mar 2014 22:13:39 +0000 (18:13 -0400)
commit2f30b686f391122a83f9bba5ba1a887e71d78096
treece325a9e464fa20ae04104461366090368d6104b
parentca228d817e0bb608fe4f9739b673db822a0e8530
LESS: wrong relative font path

`@fa-font-path` gets resolved relative to `path.less`, even if you
`@import` it from another directory. For example:

```
Project root /
    bower_components/font-awesome/less/font-awesome.less
    less/project.less

@fa-font-path: '../bower_components/font-awesome/font';
```

When compiling `project.less`, this gets resolved to
`bower_components/font-awesome/bower_components/font-awesome/font`,
which is incorrect. This was also an issue in twbs/bootstrap#10941

This fixes #497.
less/path.less
src/assets/font-awesome/less/path.less