From 708d23ee813c5944885f9b9c50678ed5548ee51c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 24 Mar 2014 16:57:08 +0100 Subject: [PATCH] hooks/post-install/04-generate-runtime-deps: use sed -E explicitly to avoid compat issues. --- common/hooks/post-install/04-generate-runtime-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/04-generate-runtime-deps.sh b/common/hooks/post-install/04-generate-runtime-deps.sh index 3f04720bb57..1c4573f4a2f 100644 --- a/common/hooks/post-install/04-generate-runtime-deps.sh +++ b/common/hooks/post-install/04-generate-runtime-deps.sh @@ -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