mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
fix for linux
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
VERSION=2.0.0
|
||||
DATE=$(shell DATE)
|
||||
BOOTSTRAP = ./bootstrap.css
|
||||
BOOTSTRAP_MIN = ./bootstrap.min.css
|
||||
BOOTSTRAP_LESS = ./lib/bootstrap.less
|
||||
@@ -9,7 +8,7 @@ WATCHR ?= `which watchr`
|
||||
|
||||
build:
|
||||
@@if test ! -z ${LESS_COMPESSOR}; then \
|
||||
sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"${DATE}"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \
|
||||
sed -e 's/@VERSION/'"v${VERSION}"'/' -e '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; \
|
||||
|
||||
Reference in New Issue
Block a user