From 728748a818e89be630c6aba2041cf5eb1d66289a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 20 Apr 2013 11:40:34 -0600 Subject: Fix typo introduced into version.sh --- nuttx/tools/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx/tools/version.sh b/nuttx/tools/version.sh index fed9c00ff..8a6341040 100755 --- a/nuttx/tools/version.sh +++ b/nuttx/tools/version.sh @@ -112,7 +112,7 @@ MINOR=`echo ${VERSION} | cut -d'.' -f2` # Get GIT information (if not provided on the command line) if [ -z "${BUILD}" ]; then - GITINFO=`git log 2>/dev/null | head 1` + GITINFO=`git log 2>/dev/null | head -1` if [ -z "${GITINFO}" ]; then echo "GIT version information is not available" exit 3 -- cgit v1.2.3