Edit

kc3-lang/harfbuzz/src/relative_to.py

Branch :

  • Show log

    Commit

  • Author : David Manthey
    Date : 2023-10-18 08:28:23
    Hash : 45a7f9ce
    Message : Change the shebang used for python 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.

  • src/relative_to.py
  • #!/usr/bin/env python3
    
    import sys
    from os import path
    
    print(path.relpath(sys.argv[1], sys.argv[2]))