mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
The shebang `/usr/bin/python3` assumes python3 is installed in /usr/bin, which isn't always true (e.g., in the manylinux docker image). Using `/usr/bin/env python3` uses the python3 that is in the path, which is more flexible.
7 lines
102 B
Python
Executable File
7 lines
102 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
from os import path
|
|
|
|
print(path.relpath(sys.argv[1], sys.argv[2]))
|