From: Ian Lynagh Date: Tue, 1 Dec 2009 13:11:23 +0000 (+0000) Subject: Call $(SED) rather than sed X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d4b4b5bd0918cb1181b6d3f6149cf16e61b18c8e;p=ghc-hetmet.git Call $(SED) rather than sed --- diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk index d0f3bd5..b238db9 100644 --- a/utils/ghc-cabal/ghc.mk +++ b/utils/ghc-cabal/ghc.mk @@ -81,7 +81,7 @@ $(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs : $(GHC_CABAL_DIR)/ghc.mk $(M # ["PostfixOperators"] ++ echo 'extensions :: [String]' >> $@ echo 'extensions =' >> $@ - sed '/^xFlags/,/]/s/^[[:space:]]*([[:space:]]*\("[^"]*"\)[^"]*/ [\1] ++/p;d' compiler/main/DynFlags.hs >> $@ + '$(SED)' '/^xFlags/,/]/s/^[[:space:]]*([[:space:]]*\("[^"]*"\)[^"]*/ [\1] ++/p;d' compiler/main/DynFlags.hs >> $@ echo ' []' >> $@ # We don't build dummy-ghc with Cabal, so we need to pass -package