chore: preparing for new naming convention

This commit is contained in:
Leonardo de Moura 2019-10-04 14:22:23 -07:00
parent b44e9c8d64
commit 93207e99f4

View file

@ -11,7 +11,4 @@ for x in sys.stdin:
x = re.sub(r"^(\w):", lambda m: "/" + m[1].lower(), x).replace('\\', '/').strip()
curr = os.path.realpath(os.curdir)
curr = os.path.normpath(curr)
if sys.platform == "darwin":
# HACK: macos paths are case insensitive, but Python's normalization does not convert characters to lowercase
curr = curr.lower()
print(os.path.relpath(x, curr))