Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the copy of git in Xcode

In case someone doesn't have the command line tools.
  • Loading branch information...
commit eff8e4d9d3cb6af42d83c5b713606c91e23937a8 1 parent 5afa0d7
@uliwitness authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 make_git_version_header.sh
View
6 make_git_version_header.sh
@@ -38,10 +38,12 @@
# file.
#
+GIT='/Applications/Xcode.app/Contents/Developer/usr/bin/git'
+
echo -n "note: Finding revision in "
pwd
-revnum=`/usr/local/git/bin/git rev-list HEAD | /usr/bin/wc -l | tr -d ' '`
-fullrevnum=`/usr/local/git/bin/git rev-parse HEAD`
+revnum=`$GIT rev-list HEAD | /usr/bin/wc -l | tr -d ' '`
+fullrevnum=`$GIT rev-parse HEAD`
builddate=`date "+%Y-%m-%d"`
# Now write the constant declaration to the file:
Please sign in to comment.
Something went wrong with that request. Please try again.