[pacman-dev] [PATCH] libmakepkg: fix missing dependency on error.sh

Allan McRae allan at archlinux.org
Wed May 8 00:17:14 UTC 2019


On 16/4/19 11:58 pm, Eli Schwartz wrote:
> When the executable checking was refactored into libmakepkg, it carried
> with it, usage of $E_* error codes, which need to be declared from
> error.sh but are only available when the parent program already sources
> error.sh -- fix by adding the necessary dependency.
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
>  scripts/libmakepkg/executable/vcs.sh.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/scripts/libmakepkg/executable/vcs.sh.in b/scripts/libmakepkg/executable/vcs.sh.in
> index 46631f39..399ae1d4 100644
> --- a/scripts/libmakepkg/executable/vcs.sh.in
> +++ b/scripts/libmakepkg/executable/vcs.sh.in
> @@ -23,6 +23,7 @@ LIBMAKEPKG_EXECUTABLE_VCS_SH=1
>  
>  LIBRARY=${LIBRARY:-'@libmakepkgdir@'}
>  
> +source "$LIBRARY/util/error.sh"
>  source "$LIBRARY/util/option.sh"
>  
>  executable_functions+=('executable_vcs')
> 

OK.

A


More information about the pacman-dev mailing list