Commit 9b0ddd1d authored by James Almer's avatar James Almer

Merge commit '44aafa33'

* commit '44aafa33':
  configure: Properly escape arguments in filter/filter_out helper functions
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 032129ca 44aafa33
...@@ -540,7 +540,7 @@ filter(){ ...@@ -540,7 +540,7 @@ filter(){
pat=$1 pat=$1
shift shift
for v; do for v; do
eval "case $v in $pat) printf '%s ' $v ;; esac" eval "case '$v' in $pat) printf '%s ' '$v' ;; esac"
done done
} }
...@@ -548,7 +548,7 @@ filter_out(){ ...@@ -548,7 +548,7 @@ filter_out(){
pat=$1 pat=$1
shift shift
for v; do for v; do
eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac" eval "case '$v' in $pat) ;; *) printf '%s ' '$v' ;; esac"
done 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