From cca4a25757687599d22e4dbacba60b7bd4199ab2 Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 20 Oct 2017 19:34:53 -0700 Subject: [PATCH] qb: path is a special variable in zsh so avoid setting it. --- qb/qb.comp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qb/qb.comp.sh b/qb/qb.comp.sh index 30e8314781..4636d990eb 100644 --- a/qb/qb.comp.sh +++ b/qb/qb.comp.sh @@ -78,9 +78,9 @@ fi [ -n "$PKG_CONF_PATH" ] || { PKG_CONF_PATH="none" - for path in $(which "${CROSS_COMPILE}pkg-config" 2>/dev/null) ''; do - [ -n "$path" ] && { - PKG_CONF_PATH=$path; + for p in $(which "${CROSS_COMPILE}pkg-config" 2>/dev/null) ''; do + [ -n "$p" ] && { + PKG_CONF_PATH=$p; break; } done