Merge commit '44aafa3325ec09a120bdb81b8579b8dfd65b1693'

* commit '44aafa3325ec09a120bdb81b8579b8dfd65b1693':
  configure: Properly escape arguments in filter/filter_out helper functions

Merged-by: James Almer <jamrial@gmail.com>
pull/272/head
James Almer 7 years ago
commit 9b0ddd1d87
  1. 4
      configure

4
configure vendored

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

Loading…
Cancel
Save