Merge commit '8b56dbe7435d8cfe3964f447fc45fe98db5d9042'

* commit '8b56dbe7435d8cfe3964f447fc45fe98db5d9042':
  configure: Do not add newlines in filter()/filter_out() functions

Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
Clément Bœsch 2017-04-08 14:11:21 +02:00
commit f98ccbd6a0
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -523,7 +523,7 @@ filter(){
pat=$1
shift
for v; do
eval "case $v in $pat) echo $v ;; esac"
eval "case $v in $pat) printf '%s ' $v ;; esac"
done
}
@ -531,7 +531,7 @@ filter_out(){
pat=$1
shift
for v; do
eval "case $v in $pat) ;; *) echo $v ;; esac"
eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac"
done
}