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:
b5978be
)
Simplify the "is $bindir in $PATH" test
author
Ian Lynagh
<igloo@earth.li>
Sat, 11 Oct 2008 19:10:08 +0000
(19:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 11 Oct 2008 19:10:08 +0000
(19:10 +0000)
distrib/Makefile
patch
|
blob
|
history
diff --git
a/distrib/Makefile
b/distrib/Makefile
index
dd067b2
..
5dd230b
100644
(file)
--- a/
distrib/Makefile
+++ b/
distrib/Makefile
@@
-38,7
+38,7
@@
install :: postinstall denounce
# Look to see if $(bindir) is in $(PATH). Assumes there are no funky
# characters.
-GREPPED_PATH=$(shell echo "$(PATH)" | grep "\(^\|:\)$(bindir)\(:\|$$\)")
+GREPPED_PATH=$(shell echo ":$(PATH):" | grep ":$(bindir):")
denounce:
@echo