mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02: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:
parent
b35062bb6a
commit
fa37db9205
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue