qb: Fix $VARS for zsh.

This commit is contained in:
orbea 2017-10-20 21:28:11 -07:00
parent 514391b4d8
commit a943fabe1e

View File

@ -520,6 +520,6 @@ fi
# Creates config.mk and config.h.
add_define_make GLOBAL_CONFIG_DIR "$GLOBAL_CONFIG_DIR"
VARS=$(eval set | grep ^HAVE_ | sed s/=.*// | sed s/^HAVE_//)
create_config_make config.mk $VARS
create_config_header config.h $VARS
VARS=$(eval set | grep ^HAVE_ | sed 's/=.*//' | sed 's/^HAVE_//')
create_config_make config.mk $(printf %s "$VARS")
create_config_header config.h $(printf %s "$VARS")