twitter/recess — pull request #45 by timri (2012-08-27 20:18:45+00:00)
Title: Fix inlineImages when the less/css-file is in the current directory

Fix inlineImages when the less/css-file is in the current directory (and therefor does not have a diretory-component)

before:

recess --compile --inlineImages true test.less
transforms all relative urls wrong, since test.less had no directory
f.e.:
img/sprite.png ===> /img/sprite.png

recess --compile --inlineImages true ./test.less
did work
img/sprite.png ===> ./img/sprite.png

with this patch,

recess --compile --inlineImages true test.less
works, too

Signed-off-by: Tim Riemenschneider