Mercurial > pidgin
changeset 27406:cd390b71b9ff
This seems to work better on Windows, what with the spaces in the path and the
backslashes.
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 07 Jul 2009 15:42:04 +0000 |
parents | 0b20adf798f7 |
children | b74fa3d29cda |
files | libpurple/plugins/perl/perl.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/perl/perl.c Tue Jul 07 07:27:17 2009 +0000 +++ b/libpurple/plugins/perl/perl.c Tue Jul 07 15:42:04 2009 +0000 @@ -146,8 +146,8 @@ const gchar *search_path = search_paths->data; search_paths = g_list_next(search_paths); - uselib = g_strdup_printf("unshift @INC, \"%s%cperl\";", - search_path, G_DIR_SEPARATOR); + uselib = g_strdup_printf("unshift @INC, q(%s%sperl);", + search_path, G_DIR_SEPARATOR_S); eval_pv(uselib, TRUE); g_free(uselib); }