projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a2eef
)
Avoid a failing shell command when cleaning
author
Ian Lynagh
<igloo@earth.li>
Fri, 18 Dec 2009 20:11:46 +0000
(20:11 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 18 Dec 2009 20:11:46 +0000
(20:11 +0000)
It wasn't fatal, but better to avoid it anyway
compiler/ghc.mk
patch
|
blob
|
history
diff --git
a/compiler/ghc.mk
b/compiler/ghc.mk
index
c237df7
..
901b069
100644
(file)
--- a/
compiler/ghc.mk
+++ b/
compiler/ghc.mk
@@
-423,9
+423,11
@@
compiler_PACKAGE = ghc
# below.
# The ProjectPatchLevel > 20000000 iff it's a date. If it's e.g. 6.12.1
# then we don't want to remove it
+ifneq "$(CLEANING)" "YES"
ifeq "$(shell [ $(ProjectPatchLevel) -gt 20000000 ] && echo YES)" "YES"
compiler_stage1_VERSION_MUNGED = YES
endif
+endif
ifeq "$(compiler_stage1_VERSION_MUNGED)" "YES"
define compiler_PACKAGE_MAGIC