improve the bootstrap abort error text
This commit is contained in:
parent
8af86b797a
commit
15b76d9f76
@ -9,10 +9,10 @@
|
|||||||
%cabal_configure\
|
%cabal_configure\
|
||||||
%if %{undefined ghc_bootstrap}\
|
%if %{undefined ghc_bootstrap}\
|
||||||
if [ ! "$(ghc --info | grep \\"Booter\\ version\\",\\"%{ghc_version}\\")" ]; then\
|
if [ ! "$(ghc --info | grep \\"Booter\\ version\\",\\"%{ghc_version}\\")" ]; then\
|
||||||
echo "Aborting since this ghc version build is not self-bootstrapped.\
|
echo "Aborting since this ghc build is not self-bootstrapped.\
|
||||||
The ghc package should be rebuilt against its current version first\
|
The ghc package should be rebuilt against its current version first\
|
||||||
to prevent dependency ABI breakage with a future ghc rebuild.\
|
to prevent dependency ABI breakage from a future ghc rebuild.\
|
||||||
(This can be overridden at your own risk by defining ghc_bootstrap.)"\
|
(This can be overridden understanding this risk, by defining ghc_bootstrap.)"\
|
||||||
exit 1\
|
exit 1\
|
||||||
fi\
|
fi\
|
||||||
%endif\
|
%endif\
|
||||||
|
Loading…
Reference in New Issue
Block a user