mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
077e9f04c1
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.
10 lines
184 B
Python
10 lines
184 B
Python
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
if not os.environ.get('DESTDIR'):
|
|
print('GIO module cache creation...')
|
|
subprocess.call([sys.argv[1], sys.argv[2]])
|