aur-build: check early if repo-add symlink was resolved
commit32dfe03709f1df5c6dc1dcd71353f69dc7278129
authorAlad Wenter <alad@archlinux.org>
Mon, 28 Nov 2022 14:56:08 +0000 (28 15:56 +0100)
committerAlad Wenter <alad@archlinux.org>
Mon, 28 Nov 2022 14:56:08 +0000 (28 15:56 +0100)
treeacaf1f66c750ddf3d9b2777f760cfe81604f7def
parent1991455c38303a3d6acc8a59828c20e0d10afd0f
aur-build: check early if repo-add symlink was resolved

This avoids builds when the database path points to a `.db` file, which
is an extension not supported by `repo-add`. (#700, #1038)

If `AUR_DBEXT` is set to a non-zero value, it's assumed this is a user
decision and the early check is not done.
lib/aur-build