[libgit2-glib] meson_vapi_link.py: Remove unnecessary os.path.join



commit f49f3f5a6cc20f54cdd9001f64912ca4d018ffec
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date:   Sun Mar 1 17:33:12 2020 +0000

    meson_vapi_link.py: Remove unnecessary os.path.join
    
    We only have one argument, so it does nothing.

 meson_vapi_link.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson_vapi_link.py b/meson_vapi_link.py
index 5b33063..58e0f6b 100644
--- a/meson_vapi_link.py
+++ b/meson_vapi_link.py
@@ -13,6 +13,6 @@ old = 'ggit-1.0'
 new = 'libgit2-glib-1.0'
 
 for ext in ['vapi', 'deps']:
-  src = os.path.join('{}.{}'.format(new, ext))
-  dest = os.path.join('{}.{}'.format(old, ext))
+  src = '{}.{}'.format(new, ext)
+  dest = '{}.{}'.format(old, ext)
   subprocess.call(['ln', '-s', '-f', src, dest])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]