[pacman-dev] [PATCH] Make sure all proper scripts are installed instead of the wrappers

Florian Weigelt weigelt.florian at gmx.net
Tue Oct 25 19:31:22 UTC 2016


I can confirm Johannes' patch solves the described issue. Thanks.

On 10/25/16 21:02, Johannes Löthberg wrote:
> After 1f8f0bd9ac4c11cdc1b9506f9f64d8192ecad4ee all scripts that were
> changed to using the wrapper for in-tree use have the wrappers installed
> to the system instead of the actual script, so change the install
> command to support all wrapped scripts instead of just makepkg.
> 
> Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
> ---
>  scripts/Makefile.am | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/Makefile.am b/scripts/Makefile.am
> index 448057d..977aa90 100644
> --- a/scripts/Makefile.am
> +++ b/scripts/Makefile.am
> @@ -247,7 +247,9 @@ install-exec-hook:
>  		cd $(DESTDIR)$(bindir) && \
>  		$(RM) $$wrapper; \
>  	done
> -	$(INSTALL) .lib/makepkg $(DESTDIR)$(bindir)/makepkg
> +	for wrapper in $(WRAPPER); do \
> +		$(INSTALL) .lib/$${wrapper%-wrapper} $(DESTDIR)$(bindir)/$${wrapper%-wrapper}; \
> +	done
>  	for dir in $(LIBMAKEPKGDIRS); do \
>  		$(MKDIR_P) $(DESTDIR)$(libmakepkgdir)/$$dir; \
>  	done
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20161025/81198fc1/attachment-0001.asc>


More information about the pacman-dev mailing list