From 25e9d826bab0457b9882d441558aa542c7c28dce Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 19 Apr 2017 15:28:55 -0700 Subject: [PATCH] ./fonttools: Use realpath() instead of abspath() Makes a symlink to this script do the right thing. --- fonttools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fonttools b/fonttools index e9131ab66..92b390e77 100755 --- a/fonttools +++ b/fonttools @@ -3,7 +3,7 @@ from __future__ import print_function, division, absolute_import import sys 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) from fontTools.__main__ import main