• Kevin Daudt's avatar
    apkbuild-lint: fix false negative with custom variables · 766fb58e
    Kevin Daudt authored
    When a non-standard variable has a prefix of a standard variable,
    apkbuild-lint does not complain at the moment. For example:
    
    ```sh
    depends_foo="abc"
    ```
    
    is a non-standard variable, but because it starts with `depends`, which
    is a standard variable, it is not caught.
    
    Let's fix that by including an `=` in the negative lookahead, so no
    longer functions as a prefix match. See [regexp101 example][0].
    
    [0]:https://regex101.com/r/qhVwsP/1
    766fb58e
Name
Last commit
Last update
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
alint.5.scd Loading commit data...
apkbuild-fixer Loading commit data...
apkbuild-fixer.1.scd Loading commit data...
apkbuild-lint Loading commit data...
apkbuild-lint.1.scd Loading commit data...
aports-lint Loading commit data...
aports-lint.1.scd Loading commit data...
build.do Loading commit data...
check.do Loading commit data...
clean.do Loading commit data...
conf Loading commit data...
default.man.do Loading commit data...
initd-lint Loading commit data...
initd-lint.1.scd Loading commit data...
install.do Loading commit data...
manpages.do Loading commit data...