./fonttools: Use realpath() instead of abspath()
Makes a symlink to this script do the right thing.
This commit is contained in:
parent
a5c8977dd3
commit
25e9d826ba
@ -3,7 +3,7 @@ from __future__ import print_function, division, absolute_import
|
|||||||
import sys
|
import sys
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'Lib'))
|
libdir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Lib')
|
||||||
sys.path.insert(0, libdir)
|
sys.path.insert(0, libdir)
|
||||||
|
|
||||||
from fontTools.__main__ import main
|
from fontTools.__main__ import main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user