Change in libosmocore[master]: osmo-release.sh: Improve of PKG_CHECK_MODULES from configure.ac

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Jan 2 17:47:36 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/16700 )


Change subject: osmo-release.sh: Improve of PKG_CHECK_MODULES from configure.ac
......................................................................

osmo-release.sh: Improve of PKG_CHECK_MODULES from configure.ac

Remove brackets and check for "(" after PKG_CHECK_MODULES to avoid
getting comments containing the keyword.

Change-Id: Ie2b9a65d42615aa3cce6906ddd53758bc3052942
---
M osmo-release.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/00/16700/1

diff --git a/osmo-release.sh b/osmo-release.sh
index 916af84..31cd1a0 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -29,7 +29,7 @@
 	else
 		configureac_file="configure.ac"
 	fi
-	configureac_list=$(grep -e "PKG_CHECK_MODULES" "${GIT_TOPDIR}/${configureac_file}" | cut -d "," -f 2 | tr -d ")" | tr -d " " | sed "s/>=/ /g")
+	configureac_list=$(grep -e "PKG_CHECK_MODULES(" "${GIT_TOPDIR}/${configureac_file}" | cut -d "," -f 2 | tr -d ")" | tr -d "[" | tr -d "]" | tr -d " " | sed "s/>=/ /g")
 	echo "$configureac_list" | \
 	{ return_error=0
 	while read -r dep ver; do

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16700
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie2b9a65d42615aa3cce6906ddd53758bc3052942
Gerrit-Change-Number: 16700
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200102/8ca7517b/attachment.htm>


More information about the gerrit-log mailing list