diff options
author | Lemmih <lemmih@gmail.com> | 2007-06-21 13:06:57 +0000 |
---|---|---|
committer | Lemmih <lemmih@gmail.com> | 2007-06-21 13:06:57 +0000 |
commit | ee58865d978747ab8d61ce041806f3223b56ef94 (patch) | |
tree | 14bb174994d1b006d81c42be67aac44d4065e8c6 /utils/ghc-pkg/Makefile | |
parent | e26978516c9fc73ef25551ee792933536c263e61 (diff) | |
download | haskell-ee58865d978747ab8d61ce041806f3223b56ef94.tar.gz |
further fixes to the inplace scripts
Diffstat (limited to 'utils/ghc-pkg/Makefile')
-rw-r--r-- | utils/ghc-pkg/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 3a8cfdfba4..9508b52a73 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -66,8 +66,8 @@ EXCLUDED_SRCS+=$(INPLACE_HS) TOP_ABS=$(subst \\,/,$(FPTOOLS_TOP_ABS_PLATFORM)) $(INPLACE_HS): Makefile $(FPTOOLS_TOP)/mk/config.mk - echo "import System.Cmd; import System.Environment" > $@ - echo "main = getArgs >>= \args -> rawSystem \"$(TOP_ABS)/$(GHC_PKG_DIR_REL)/$(HS_PROG)\" (\"--global-conf\":\"$(TOP_ABS)/driver/package.conf.inplace\":args)" >> $@ + echo "import System.Cmd; import System.Environment; import System.Exit" > $@ + echo "main = getArgs >>= \args -> rawSystem \"$(TOP_ABS)/$(GHC_PKG_DIR_REL)/$(HS_PROG)\" (\"--global-conf\":\"$(TOP_ABS)/driver/package.conf.inplace\":args) >>= exitWith" >> $@ $(INPLACE_PROG): $(INPLACE_HS) $(GHC) --make $< -o $@ |