Re: [pacman-dev] [PATCH 02/10] makepkg: Simplify SPLITPKG check

2018-06-04 Thread Allan McRae
On 01/06/18 07:01, Eli Schwartz wrote: > On 05/31/2018 12:24 PM, Jan Alexander Steffens (heftig) wrote: >> This causes package_$pkgname() to be preferred over package() in the >> non-split case, but the behavior if both functions exist was >> undocumented anyway. > > We don't document the

Re: [pacman-dev] [PATCH 02/10] makepkg: Simplify SPLITPKG check

2018-05-31 Thread Eli Schwartz
On 05/31/2018 12:24 PM, Jan Alexander Steffens (heftig) wrote: > This causes package_$pkgname() to be preferred over package() in the > non-split case, but the behavior if both functions exist was > undocumented anyway. We don't document the behavior of arbitrary user-defined functions.

[pacman-dev] [PATCH 02/10] makepkg: Simplify SPLITPKG check

2018-05-31 Thread Jan Alexander Steffens (heftig)
This causes package_$pkgname() to be preferred over package() in the non-split case, but the behavior if both functions exist was undocumented anyway. --- scripts/makepkg.sh.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in