1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -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:
ailin-nemui 2023-02-13 08:51:33 +00:00 committed by Ailin Nemui
parent 82618ce25d
commit 75fd596084

View File

@ -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