Compatibility: sourcing of file in current dir requires './
Created by: Ikke
When running apkbuild-lint APKBUILD
, the following code:
srcdir="" . "$apkbuild" 2>/dev/null
does not work when using posix shell (bash in compatibility mode). It requires you to prefix the filename with ./
. This will silently skip all tests.
This does work under ash though.