Logo
Explore Help
Sign In
luc14n0/glib
1
0
Fork 0
You've already forked glib
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-05-13 17:33:12 +02:00
Code Issues Packages Projects Releases Wiki Activity
glib/gio/gio-querymodules-wrapper.py

10 lines
188 B
Python
Raw Normal View History

Meson: Build fam module gio-querymodules-wrapper.py is copied from glib-networking. This python wrapper script is needed because meson.build cannot check for DESTDIR env variable itself, unlike Makefile.am. It is used to update giomodule.cache file when installing GIO modules like fam.
2018-06-07 09:50:59 -04:00
#!/usr/bin/env python3
import os
import subprocess
import sys
py: Reformat all Python files consistently This commit is the unmodified results of running ``` black $(git ls-files '*.py') ``` with black version 19.10b0. See #2046. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2020-11-17 15:07:09 +00:00
if not os.environ.get("DESTDIR"):
print("GIO module cache creation...")
subprocess.call([sys.argv[1], sys.argv[2]])
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 96ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API