1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC path

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2173 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-01 18:34:01 +00:00 committed by cras
parent b35062bb6a
commit fa37db9205

View File

@ -178,8 +178,8 @@ char *perl_get_use_list(void)
str = g_string_new(NULL);
use_lib = settings_get_str("perl_use_lib");
if (*use_lib != '\0')
g_string_sprintf(str, "use lib qw(%s);", use_lib);
g_string_sprintf(str, "use lib qw(%s/scripts "SCRIPTDIR" %s);",
get_irssi_dir(), use_lib);
g_string_append(str, "use Irssi;");
if (irssi_gui != IRSSI_GUI_NONE)