[commit: ghc] master: Quote GHC path in configure so we can deal with multiple spaces. (fa7d582)
git at git.haskell.org
git at git.haskell.org
Thu Oct 22 19:47:32 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/fa7d582e0d5a79a4811946759b922881c6c9db9f/ghc
>---------------------------------------------------------------
commit fa7d582e0d5a79a4811946759b922881c6c9db9f
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Thu Oct 22 00:01:41 2015 -0700
Quote GHC path in configure so we can deal with multiple spaces.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
>---------------------------------------------------------------
fa7d582e0d5a79a4811946759b922881c6c9db9f
aclocal.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
index 2282b99..2bf27be 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1393,7 +1393,7 @@ AC_DEFUN([FP_PROG_GHC_PKG],
# so we sed off -stage[0-9]$. However, if we are told to use
# ghc-6.12.1 then we want to use ghc-pkg-6.12.1, so we keep any
# other suffix.
-fp_ghc_pkg_guess=`echo $WithGhc | sed -e 's/-stage@<:@0-9@:>@$//' -e 's,ghc\(@<:@^/\\@:>@*\)$,ghc-pkg\1,'`
+fp_ghc_pkg_guess=`echo "$WithGhc" | sed -e 's/-stage@<:@0-9@:>@$//' -e 's,ghc\(@<:@^/\\@:>@*\)$,ghc-pkg\1,'`
if "$fp_ghc_pkg_guess" list > /dev/null 2>&1; then
fp_cv_matching_ghc_pkg=$fp_ghc_pkg_guess
else
More information about the ghc-commits
mailing list