Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make_version_header: I've been told tr is what the cool kids use for …

…this these days.
  • Loading branch information...
commit 062e41372f6e23816c02b899a7cb7b183422a52e 1 parent 9d1dcba
@uliwitness authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  make_git_version_header.sh
View
2  make_git_version_header.sh
@@ -40,7 +40,7 @@
echo -n "note: Finding revision in "
pwd
-revnum=`/usr/local/git/bin/git rev-list HEAD | /usr/bin/wc -l | sed -e 's/^ *//g;s/ *$//g'`
+revnum=`/usr/local/git/bin/git rev-list HEAD | /usr/bin/wc -l | tr -d ' '`
fullrevnum=`/usr/local/git/bin/git rev-parse HEAD`
builddate=`date "+%Y-%m-%d"`
Please sign in to comment.
Something went wrong with that request. Please try again.