mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
c6a8697800
commit
5d39e05bf4
|
@ -29,7 +29,7 @@ check_configureac_debctrl_deps_match() {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue