From 1101045cbdbd6f240fa7e2438d9488822cd604fb Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 5 Aug 2016 09:42:09 +0200 Subject: Trim all spaces after 'version:' ... that we grep out of libraries/Cabal/Cabal/Cabal.cabal This is necessary because the file got reformatted in the 'master' branch. --- utils/ghc-cabal/ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/ghc-cabal') diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk index c06a011297..62338eeb25 100644 --- a/utils/ghc-cabal/ghc.mk +++ b/utils/ghc-cabal/ghc.mk @@ -14,7 +14,7 @@ # Euch, hideous hack: # XXX This should be in a different Makefile -CABAL_DOTTED_VERSION := $(shell grep "^version:" libraries/Cabal/Cabal/Cabal.cabal | sed "s/^version: //") +CABAL_DOTTED_VERSION := $(shell grep "^version:" libraries/Cabal/Cabal/Cabal.cabal | sed "s/^version: *//") CABAL_VERSION := $(subst .,$(comma),$(CABAL_DOTTED_VERSION)) CABAL_CONSTRAINT := --constraint="Cabal == $(CABAL_DOTTED_VERSION)" -- cgit v1.2.1