477f228b72
- regen patches and set GPL version number while here
29 lines
1010 B
Plaintext
29 lines
1010 B
Plaintext
--- src/archive.c.orig Fri Jan 11 19:22:11 2008
|
|
+++ src/archive.c Sat Jan 24 12:57:36 2009
|
|
@@ -173,18 +173,17 @@ static gchar* install_theme_to(const gchar *file, cons
|
|
|
|
glob = g_strdup_printf("*/openbox-3/", name);
|
|
|
|
- argv = g_new(gchar*, 11);
|
|
+ argv = g_new(gchar*, 10);
|
|
argv[0] = g_strdup("tar");
|
|
argv[1] = g_strdup("-x");
|
|
argv[2] = g_strdup("-v");
|
|
argv[3] = g_strdup("-z");
|
|
- argv[4] = g_strdup("--wildcards");
|
|
- argv[5] = g_strdup("-f");
|
|
- argv[6] = g_strdup(file);
|
|
- argv[7] = g_strdup("-C");
|
|
- argv[8] = g_strdup(to);
|
|
- argv[9] = g_strdup(glob);
|
|
- argv[10] = NULL;
|
|
+ argv[4] = g_strdup("-f");
|
|
+ argv[5] = g_strdup(file);
|
|
+ argv[6] = g_strdup("-C");
|
|
+ argv[7] = g_strdup(to);
|
|
+ argv[8] = g_strdup(glob);
|
|
+ argv[9] = NULL;
|
|
if (!g_spawn_sync(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
|
|
&outtxt, &errtxt, &exitcode, &e))
|
|
gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"tar\" command: %s"),
|