Commit 06b5ea74 authored by Arnel A. Borja's avatar Arnel A. Borja

Set GSETTINGS_SCHEMA_DIR if running from source and it is not set

This allows us to run from source without installing the settings file.
parent c7008046
......@@ -12,6 +12,8 @@ if os.path.exists(os.path.join(srcdir, 'gnome-music.doap')):
pkgdatadir = os.path.join(srcdir, 'data')
libgd_libdir = os.path.join(srcdir, 'libgd', '.libs')
libgd_typelibdir = os.path.join(srcdir, 'libgd')
if not os.environ.get('GSETTINGS_SCHEMA_DIR'):
os.environ['GSETTINGS_SCHEMA_DIR'] = pkgdatadir
else:
pkgdatadir = '@pkgdatadir@'
libgd_libdir = '@pkglibdir@'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment