From cfa2986e0cb68b9e3fdb2c2cb5110645a531eadf Mon Sep 17 00:00:00 2001 From: Sam Halliday Date: Wed, 28 Aug 2019 21:04:39 +0100 Subject: [PATCH] shellcheck --- ghcup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcup b/ghcup index f5ac0ab..0348119 100755 --- a/ghcup +++ b/ghcup @@ -1776,7 +1776,7 @@ compile_ghc() { if echo "${myghcver}" | sed 's/[.]//g' | awk '{ exit ($0 < 881) ? 0 : 1 }' ; then edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}" else - GHC=$(which ${bootstrap_ghc}) edo ./configure --prefix="${inst_location}" + GHC=$(which "${bootstrap_ghc}") edo ./configure --prefix="${inst_location}" fi emake -j${JOBS} emake install