From efbb26b8cb5dcf07eba386e1939651ee33b05784 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 27 Feb 2019 00:51:55 +0200 Subject: build: no need to replace path separators Python APIs accept both `\` and `/` as path separators. --- build-aux/meson/post-install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-aux') diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py index b66961c02b..d61873c551 100644 --- a/build-aux/meson/post-install.py +++ b/build-aux/meson/post-install.py @@ -7,8 +7,8 @@ import subprocess if 'DESTDIR' not in os.environ: gtk_api_version = sys.argv[1] gtk_abi_version = sys.argv[2] - gtk_libdir = sys.argv[3].replace('/', os.sep) - gtk_datadir = sys.argv[4].replace('/', os.sep) + gtk_libdir = sys.argv[3] + gtk_datadir = sys.argv[4] gtk_moduledir = os.path.join(gtk_libdir, 'gtk-' + gtk_api_version, gtk_abi_version) gtk_printmodule_dir = os.path.join(gtk_moduledir, 'printbackends') -- cgit v1.2.1