From bcf2b132790c112fc0d36322057560bee7480ea7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 13 Feb 2015 11:45:13 +0100 Subject: [PATCH] Don't double-quote command when rewriting desktop files --- xdg-app-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-app-dir.c b/xdg-app-dir.c index 1e859701..34b9ddab 100644 --- a/xdg-app-dir.c +++ b/xdg-app-dir.c @@ -557,7 +557,7 @@ export_desktop_file (const char *app, int i; gs_free char *command = g_shell_quote (old_argv[0]); - g_string_append_printf (new_exec, " --command='%s'", command); + g_string_append_printf (new_exec, " --command=%s", command); g_string_append (new_exec, " "); g_string_append (new_exec, escaped_app);