diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-08-30 15:53:18 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2016-11-04 13:41:32 +0000 |
commit | 98d298e4ef2bc9ad9f4e2d2bb83c3183e3ee0977 (patch) | |
tree | 5a3cf064dcc0cc869060feb7d0560cd466aed8da /helpers/create_ilst.pl | |
parent | be1c45a0094513b93bbe9747398be1cab6a0abe0 (diff) |
Create a new image list for 'make postprocess'
with screenshot images
corrected path as indicated
Change-Id: I3d81c88a4ae002f12247ec4a5587e50f9927a005
Reviewed-on: https://gerrit.libreoffice.org/28499
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
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."); |