Merge pull request #5611 from orbea/sort

qb: Sort set variables.
This commit is contained in:
Twinaphex 2017-10-26 14:13:59 +02:00 committed by GitHub
commit 6bd333263a

View File

@ -518,7 +518,8 @@ while [ $# -gt 0 ]; do
tmpvar="${1%=*}"
shift 1
var="${tmpvar#HAVE_}"
VARS="${VARS} $var"
vars="${vars} $var"
done
VARS="$(printf %s "$vars" | tr ' ' '\n' | sort)"
create_config_make config.mk $(printf %s "$VARS")
create_config_header config.h $(printf %s "$VARS")