Skip to content

Commit

Permalink
Simplified git log date retrieval using format options
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jul 21, 2010
1 parent 1eb9974 commit 5e7307d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -32,7 +32,7 @@ VER = sed s/@VERSION/${JQ_VER}/
RHINO = java -jar ${BUILD_DIR}/js.jar
MINJAR = java -jar ${BUILD_DIR}/google-compiler-20091218.jar

DATE=`git log -1 | grep Date: | sed 's/[^:]*: *//'`
DATE=`git log --pretty=format:'%ad' -1`

all: jquery lint min
@@echo "jQuery build complete."
Expand Down

0 comments on commit 5e7307d

Please sign in to comment.