Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2011-09-13 01:28:26 +0400
committerJacob Thornton <jacobthornton@gmail.com>2011-09-13 01:28:26 +0400
commit997c2cd6a05f39436a4238f78c78bacbee15bc7d (patch)
treef846090c7c8bf13120f38a7552a8b8cfc846f791 /Makefile
parentad87e11f03b4d614a6beea56175289b6a1e576a3 (diff)
make file shouldn't say file built successfully if error occurs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 602086e82a..5ae8740b0e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,10 @@ WATCHR ?= `which watchr`
build:
@@if test ! -z ${LESS_COMPESSOR}; then \
- sed 's/@DATE/'"${DATE}"'/' ${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \
- lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \
- lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \
- rm -f ${BOOTSTRAP_LESS}.tmp; \
+ sed 's/@DATE/'"${DATE}"'/' ${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp && \
+ lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP} && \
+ lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress && \
+ rm -f ${BOOTSTRAP_LESS}.tmp && \
echo "Bootstrap successfully built! - `date`"; \
else \
echo "You must have the LESS compiler installed in order to build Bootstrap."; \