Logo
Explore SSH Host Keys OBS 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-12-21 23:41:57 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
62a60f1d608c4eff3c39a22712b78f3262a4465b
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.25.2 Page: 110ms Template: 1ms
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