Skip to content


tweaked script to use the version of git from the currently selected xcode #3

wants to merge 1 commit into from

2 participants


Stacksmith built for me with this minor tweak...


Thanks, I've modified your code slightly and applied it to the build_docs scripts in some of the targets as well.

@uliwitness uliwitness closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 6 additions and 2 deletions.
  1. +6 −2
@@ -40,8 +40,12 @@
echo -n "note: Finding revision in "
-revnum=`/usr/local/git/bin/git rev-list HEAD | /usr/bin/wc -l | tr -d ' '`
-fullrevnum=`/usr/local/git/bin/git rev-parse HEAD`
+xcode=`xcode-select --print-path`
+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:
Something went wrong with that request. Please try again.