summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-12-01 13:11:23 +0000
committerIan Lynagh <igloo@earth.li>2009-12-01 13:11:23 +0000
commitd4b4b5bd0918cb1181b6d3f6149cf16e61b18c8e (patch)
tree5889eb3b920d13471a8796954097a3fd6faf6b95 /utils
parent22f78dd456cdf6d6c123556e3f715d008ecd86cd (diff)
downloadhaskell-d4b4b5bd0918cb1181b6d3f6149cf16e61b18c8e.tar.gz
Call $(SED) rather than sed
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-cabal/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index d0f3bd5e90..b238db91ba 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