build: Fix generated classic session definition

The list of enabled extensions should be an array of strings, so add
quotes instead of just dumping the extension names into the file.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/45
This commit is contained in:
Florian Müllner
2018-01-17 17:32:48 +01:00
parent c668392462
commit f5c69cbfdc

View File

@@ -14,7 +14,7 @@ foreach s : sessions
endforeach
mode_conf = configuration_data()
mode_conf.set('CLASSIC_EXTENSIONS', ','.join(classic_extensions))
mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_extensions) + '"')
mode_file = 'classic.json'
configure_file(