Revert "Quote pc_path virtual variable"

This reverts commit a6e8749ada. With the
--variable output only being unquoted when it appears needed, this can
return to being a normally defined value.

https://bugs.freedesktop.org/show_bug.cgi?id=93284
This commit is contained in:
Dan Nicholson 2016-01-29 11:41:21 -08:00
parent a3e58e7d4d
commit 5164b9dbab

4
pkg.c
View file

@ -222,7 +222,6 @@ static Package *
add_virtual_pkgconfig_package (void)
{
Package *pkg = NULL;
gchar *path_quoted;
pkg = g_new0 (Package, 1);
@ -235,8 +234,7 @@ add_virtual_pkgconfig_package (void)
if (pkg->vars == NULL)
pkg->vars = g_hash_table_new (g_str_hash, g_str_equal);
path_quoted = g_shell_quote (pkg_config_pc_path);
g_hash_table_insert (pkg->vars, "pc_path", path_quoted);
g_hash_table_insert (pkg->vars, "pc_path", pkg_config_pc_path);
debug_spew ("Adding virtual 'pkg-config' package to list of known packages\n");
g_hash_table_insert (packages, pkg->key, pkg);