mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Merge pull request #1447 from ailin-nemui/signalsfile-fix
fix signalsfile some more
(cherry picked from commit c1fd4b17f5
)
This commit is contained in:
parent
82618ce25d
commit
75fd596084
@ -591,7 +591,12 @@ if not glib_internal
|
||||
endif
|
||||
signalsfile = docdir / 'signals.txt'
|
||||
if signalsfile.startswith('/')
|
||||
signalsfile = signalsfile.replace(get_option('prefix'), '${prefix}')
|
||||
signalsfile = signalsfile.split(get_option('prefix'))
|
||||
if signalsfile[0] == ''
|
||||
signalsfile = '${prefix}' + signalsfile[1]
|
||||
else
|
||||
signalsfile = signalsfile[0]
|
||||
endif
|
||||
else
|
||||
signalsfile = '${prefix}' / signalsfile
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user