Fix the grep regexp for sshdconfig

Vim now ships sshdconfig for ftplugin too, which makes current grep
regexp fail. Fix it by specifying the path further...
This commit is contained in:
Zdenek Dohnal 2024-05-31 13:02:24 +02:00 committed by zdohnal
commit 0b82835874

View file

@ -49,7 +49,7 @@ RHEL8_BLACKLIST="RequiredAuthentications1 RequiredAuthentications2 AuthorizedKey
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
FILE=$(rpm -ql vim-common | grep sshdconfig.vim$)
FILE=$(rpm -ql vim-common | grep 'syntax/sshdconfig.vim$')
rlAssertExists "$FILE" || rlDie "vim-common doesn't include syntax file for sshd_config"
shopt -s compat31 #for \\b
rlPhaseEnd