summaryrefslogtreecommitdiffstats
path: root/llvm/utils/llvm-lit
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-05 18:55:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-05 18:55:06 +0000
commit42fc943f21237035ab89e694721c5e704e571d2c (patch)
tree7a8671bd5e60107f3c0b433d2f8dd0dc0237f20e /llvm/utils/llvm-lit
parent692f633df93a3919fcfadbd6afc8b976a4be8003 (diff)
downloadbcm5719-llvm-42fc943f21237035ab89e694721c5e704e571d2c.tar.gz
bcm5719-llvm-42fc943f21237035ab89e694721c5e704e571d2c.zip
Revert r127073: "Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO)."
It broke the llvm-gcc-native-mingw32 buildbot, and we need all of them to be green for the 2.9 branch. Takumi, please reapply after we branch, preferably with a fix ;-) llvm-svn: 127107
Diffstat (limited to 'llvm/utils/llvm-lit')
-rw-r--r--llvm/utils/llvm-lit/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/utils/llvm-lit/Makefile b/llvm/utils/llvm-lit/Makefile
index 77021bbc243..702591f4959 100644
--- a/llvm/utils/llvm-lit/Makefile
+++ b/llvm/utils/llvm-lit/Makefile
@@ -13,10 +13,9 @@ include $(LEVEL)/Makefile.common
all:: $(ToolDir)/llvm-lit
-$(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir
+$(ToolDir)/llvm-lit: llvm-lit.in $(ToolDir)/.dir
$(Echo) "Creating 'llvm-lit' script..."
- $(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp
- $(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp
- $(Verb)sed -f lit.tmp $< > $@
+ $(Verb)sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \
+ -e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \
+ $< > $@
$(Verb)chmod +x $@
- $(Verb)rm -f lit.tmp
OpenPOWER on IntegriCloud