summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2016-01-29 11:41:21 -0800
committerDan Nicholson <dbn.lists@gmail.com>2016-02-26 08:56:52 -0800
commit5164b9dbabdca00fbd9d6bb962c4ac9b252448a2 (patch)
tree12d7ce5df8b60601cf175fff1bb2ca795756179a
parenta3e58e7d4d624eb5a7898fc550b30d4c9bdffe71 (diff)
Revert "Quote pc_path virtual variable"
This reverts commit a6e8749ada5af1737b27f1eca1babe83e82af38c. 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
-rw-r--r--pkg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg.c b/pkg.c
index 0d82c41..b439f44 100644
--- a/pkg.c
+++ b/pkg.c
@@ -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);