[git] GPG-ERROR - branch, master, updated. libgpg-error-1.32-34-g7b81ec2

[email protected] (by NIIBE Yutaka)
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  7b81ec272b0c54ac893c09be4715b76e84c27b23 (commit)
      from  25ea85066cf100e3381f7f7b2d8858a7dfcea480 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b81ec272b0c54ac893c09be4715b76e84c27b23
Author: NIIBE Yutaka <[email protected]>
Date:   Wed Oct 24 10:38:34 2018 +0900

    gpg-error-config: Get var/attr from the first package.
    
    * src/gpg-error-config-new.in: Only get it from the first.
    
    Signed-off-by: NIIBE Yutaka <[email protected]>

diff --git a/src/gpg-error-config-new.in b/src/gpg-error-config-new.in
index b8b7328..d0b9a32 100644
--- a/src/gpg-error-config-new.in
+++ b/src/gpg-error-config-new.in
@@ -576,10 +576,13 @@ all_required_config_files $module_list
 
 for p in $PKG_LIST; do
     read_config_file $p $PKG_CONFIG_PATH
+    # For want_var or want_attr, get it from the first package
     if [ -n "$want_var" ]; then
-	output="$output${output:+$delimiter}$(get_var $want_var)"
+	output="$(get_var $want_var)"
+	break
     elif [ -n "$want_attr" ]; then
-	output="$output${output:+$delimiter}$(get_attr $want_attr)"
+	output="$(get_attr $want_attr)"
+	break
     else
 	cflags="$cflags${cflags:+ }$(get_attr Cflags)"
 	libs="$libs${libs:+ }$(get_attr Libs)"

-----------------------------------------------------------------------

Summary of changes:
 src/gpg-error-config-new.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.