diff options
Diffstat (limited to 'helpers/create_ilst.pl')
-rw-r--r-- | helpers/create_ilst.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/create_ilst.pl b/helpers/create_ilst.pl index b49a075cc0..c6b9789007 100644 --- a/helpers/create_ilst.pl +++ b/helpers/create_ilst.pl @@ -35,7 +35,8 @@ if ( -d $startdir ) { find(sub{push @files, $File::Find::name if (($File::Find::name=~/\.png$/));},$startdir); foreach ( @files ) { s#.*$startdir_regexp[\\/]##; }; for (sort(@files)) { - print "%GLOBALRES%/$pre/$_\n"; + ($pre eq "helpimg") ? ($prefix = "%GLOBALRES%/") : ($prefix = "%HELPCONTENT%/"); + print "$prefix" . "$pre/$_\n"; } } else { &terminate("Cannot find $startdir."); |