diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-08 12:02:22 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-09 15:06:23 +0200 |
commit | b80378f9758974c4176dc69cefc7769d624b0eaf (patch) | |
tree | e8066949adfc8eca4b7f90a51ac85d4d41984efa /pkgconfigdeps.sh | |
parent | 775135d724a6b17de21bfb23da9e844c7c7f3683 (diff) | |
download | rpm-setup-b80378f9758974c4176dc69cefc7769d624b0eaf.tar rpm-setup-b80378f9758974c4176dc69cefc7769d624b0eaf.tar.gz rpm-setup-b80378f9758974c4176dc69cefc7769d624b0eaf.tar.bz2 rpm-setup-b80378f9758974c4176dc69cefc7769d624b0eaf.tar.xz rpm-setup-b80378f9758974c4176dc69cefc7769d624b0eaf.zip |
sync (2/8): kill useless test
Diffstat (limited to 'pkgconfigdeps.sh')
-rwxr-xr-x | pkgconfigdeps.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgconfigdeps.sh b/pkgconfigdeps.sh index 75c8fa1..94d5e16 100755 --- a/pkgconfigdeps.sh +++ b/pkgconfigdeps.sh @@ -21,11 +21,8 @@ case $1 in while read filename ; do case "${filename}" in *.pc) - # Assume that this file doesn't contain useful information. - if [[ "$(dirname ${filename})" =~ pkgconfig ]]; then - pcfiles=${pcfiles}" ${filename}" - PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(dirname ${filename}) - fi + pcfiles=${pcfiles}" ${filename}" + PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(dirname ${filename}) ;; esac done @@ -46,10 +43,8 @@ case $1 in while read filename ; do case "${filename}" in *.pc) - if [[ "$(dirname ${filename})" =~ pkgconfig ]]; then - pcfiles=${pcfiles}" ${filename}" - PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(dirname ${filename}) - fi + pcfiles=${pcfiles}" ${filename}" + PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(dirname ${filename}) esac done if [ -n "$pcfiles" ] |