hooks/post-install/04-generate-runtime-deps: use sed -E explicitly to avoid compat issues.

This commit is contained in:
Juan RP 2014-03-24 16:57:08 +01:00
parent a86522a6de
commit 708d23ee81
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ hook() {
#
for f in ${verify_deps}; do
unset _f j rdep _rdep rdepcnt soname _pkgname _rdepver found
_f=$(echo "$f"|sed 's|\+|\\+|g')
_f=$(echo "$f"|sed -E 's|\+|\\+|g')
rdep="$(grep -E "^${_f}[[:blank:]]+.*$" $mapshlibs|awk '{print $2}')"
rdepcnt="$(grep -E "^${_f}[[:blank:]]+.*$" $mapshlibs|awk '{print $2}'|wc -l)"
if [ -z "$rdep" ]; then