From 997c2cd6a05f39436a4238f78c78bacbee15bc7d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Mon, 12 Sep 2011 14:28:26 -0700 Subject: make file shouldn't say file built successfully if error occurs --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 602086e82..5ae8740b0 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."; \ -- cgit v1.2.3