Commit 8b56dbe7 authored by Diego Biurrun's avatar Diego Biurrun

configure: Do not add newlines in filter()/filter_out() functions

parent 9254344e
......@@ -429,7 +429,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
}
......@@ -437,7 +437,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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment