summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJordan Petridis <jpetridis@gnome.org>2019-02-27 00:51:55 +0200
committerJordan Petridis <jpetridis@gnome.org>2019-02-27 16:25:58 +0200
commitefbb26b8cb5dcf07eba386e1939651ee33b05784 (patch)
treed0e7202e225364a775ac03576d91e4f1621cdceb /build-aux
parent69251d051ae267e66f0f83e748ce7265230ee6db (diff)
downloadgtk+-efbb26b8cb5dcf07eba386e1939651ee33b05784.tar.gz
build: no need to replace path separators
Python APIs accept both `\` and `/` as path separators.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/meson/post-install.py4
1 files changed, 2 insertions, 2 deletions
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')