diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-22 12:09:55 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-23 13:53:00 +0200 |
commit | cd715ef2d293fe6f4356c4507cc6c60cba648721 (patch) | |
tree | cc806f8f745bf034b97e1c82b64440e3e83c2273 | |
parent | 740625f529c7000b7c39d00927e56006c21b27a6 (diff) | |
download | ptxdist-cd715ef2d293fe6f4356c4507cc6c60cba648721.tar.gz ptxdist-cd715ef2d293fe6f4356c4507cc6c60cba648721.tar.xz |
[pkg-config-wrapper] more sanitizing patterns
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | scripts/pkg-config-wrapper | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper index c1c18aa19..c84105858 100755 --- a/scripts/pkg-config-wrapper +++ b/scripts/pkg-config-wrapper @@ -15,7 +15,9 @@ for ((i = 1; i <= ${#}; i++)); do esac done -args=("-e" "s:/lib/pkgconfig/../..::g") +args=( \ + "-e" "s:/usr/lib/pkgconfig/\.\./\.\./\.\.::g" \ + "-e" "s:/lib/pkgconfig/\.\./\.\.::g") if [ -n "${PTXDIST_PKG_CONFIG_VAR_NO_SYSROOT}" -a \ -n "${found_var}" ]; then |