Commit 723de8b7 authored by Simon Marlow's avatar Simon Marlow
Browse files

add 'set -e' to catch errors properly

parent 48f5fb30
......@@ -133,6 +133,7 @@ GHC_PKG_COPY = $(GHC_PKG) --global-conf=$(COPY_PACKAGE_CONF)
ghcpkg02:
cp $(INPLACE_DATA_DIR)/package.conf $(COPY_PACKAGE_CONF)
set -e; \
for i in `$(GHC_PKG_COPY) list --global --simple-output`; do \
echo Updating $$i; \
$(GHC_PKG_COPY) describe --global $$i | $(GHC_PKG_COPY) update --global --force -; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment