]> git.lizzy.rs Git - micro.git/commit
More precise filename detection for shell scripts
authorpyfisch <pyfisch@posteo.org>
Wed, 21 Jul 2021 19:44:32 +0000 (21:44 +0200)
committerPyfisch <pyfisch@posteo.org>
Wed, 21 Jul 2021 20:09:46 +0000 (22:09 +0200)
commit6e1fe5b301b952e9aebb16b511cd024d90793cd3
tree724ae8587f9a59c646bd678288d75187156a5385
parent84a490f14c06529da1683ea782897528e05660e0
More precise filename detection for shell scripts

Make the regular expression much more precise:

* match literal dots instead of any char (match rc.conf but not rcXconf)
* match special filenames exactly (match PKGBUILD but not myPKGBUILD.something)

Run build-all to update internal/config/runtime.go

closes #2163
internal/config/runtime.go
runtime/syntax/sh.yaml