Debian Codegraph @

buildlib/relpath

raw
1 #!/usr/bin/env python
2 # Copyright 2017 Mellanox Technologies, Inc.
3 # Licensed under BSD (MIT variant) or GPLv2. See COPYING.
4
5 import os
6 import sys
7
8 print(os.path.relpath(sys.argv[1], sys.argv[2]))