summaryrefslogtreecommitdiffstats
path: root/gfx/harfbuzz/src/relative_to.py
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/harfbuzz/src/relative_to.py')
-rwxr-xr-xgfx/harfbuzz/src/relative_to.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/harfbuzz/src/relative_to.py b/gfx/harfbuzz/src/relative_to.py
new file mode 100755
index 0000000000..b660d27935
--- /dev/null
+++ b/gfx/harfbuzz/src/relative_to.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python3
+
+import sys
+from os import path
+
+print(path.relpath(sys.argv[1], sys.argv[2]))