From a943fabe1ed554b46762c2488e7ff2630a4e9773 Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 20 Oct 2017 21:28:11 -0700 Subject: [PATCH] qb: Fix $VARS for zsh. --- qb/config.libs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index af4d80f9b1..8089123e82 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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")