Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix broken min file header generation.

  • Loading branch information...
commit 2c04035cd1d7cb1e73c6e9b2d63fc77e5165b8fc 1 parent 71a5826
@jeresig jeresig authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile
View
6 Makefile
@@ -97,8 +97,10 @@ min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
- @@head -$(shell grep -m 1 -n '*/' ${JQ} | cut -f1 -d:) ${JQ} > ${JQ_MIN}
- @@${MINJAR} --js ${JQ} --warning_level QUIET --js_output_file ${JQ_MIN}
+ @@head -15 ${JQ} > ${JQ_MIN}
+ @@${MINJAR} --js ${JQ} --warning_level QUIET --js_output_file ${JQ_MIN}.tmp
+ @@cat ${JQ_MIN}.tmp >> ${JQ_MIN}
+ @@rm -f ${JQ_MIN}.tmp
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}
Please sign in to comment.
Something went wrong with that request. Please try again.