summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-08-24 04:44:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-08-24 04:46:50 (GMT)
commitac65557bee2573c1cf6ae9ac107839f95e99741b (patch)
tree3bd939d00556449eb95af92a1ba004d47ab855e6
parentc863d2d9093e7205107b5a6e56bd616c0703d4e4 (diff)
Take more GSettings schemas into account in a generic way.
-rw-r--r--tools/maint/gsettings.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/maint/gsettings.inc b/tools/maint/gsettings.inc
index 40941b4..85614c6 100644
--- a/tools/maint/gsettings.inc
+++ b/tools/maint/gsettings.inc
@@ -3,6 +3,6 @@
# source tools/maint/gsettings.inc
-glib-compile-schemas src/schemas/
+find . -type d -name schemas -exec glib-compile-schemas {} \;
-export GSETTINGS_SCHEMA_DIR=$PWD/src/schemas
+export GSETTINGS_SCHEMA_DIR=$( find . -type d -name schemas -printf "$PWD/%P:" | sed 's/:$//' )