diff options
author | marha <marha@users.sourceforge.net> | 2012-06-12 08:43:13 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-12 08:43:13 +0200 |
commit | 669b562a737c9418c53bfae69c0dbf1aabe318b4 (patch) | |
tree | 3689f9b209df6a4b74eb185f202286e435c71538 /mesalib/bin/extract_git_sha1 | |
parent | 59afae8769ef1f757929421e7f55449d5f6b5baf (diff) | |
parent | 925b68a7b26823fdfa1cb25d3edc3545fc2175b1 (diff) | |
download | vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.tar.gz vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.tar.bz2 vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/bin/extract_git_sha1')
-rw-r--r-- | mesalib/bin/extract_git_sha1 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mesalib/bin/extract_git_sha1 b/mesalib/bin/extract_git_sha1 deleted file mode 100644 index 828387016..000000000 --- a/mesalib/bin/extract_git_sha1 +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -if [ ! -f src/mesa/main/git_sha1.h ]; then - touch src/mesa/main/git_sha1.h -fi - -if [ ! -d .git ]; then - exit -fi - -if which git > /dev/null; then - # Extract the 7-digit "short" SHA1 for the current HEAD, convert - # it to a string, and wrap it in a #define. This is used in - # src/mesa/main/version.c to put the GIT SHA1 in the GL_VERSION string. - git log -n 1 --oneline |\ - sed 's/^\([^ ]*\) .*/#define MESA_GIT_SHA1 "git-\1"/' \ - > src/mesa/main/git_sha1.h.tmp - if ! cmp -s src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h; then - mv src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h - fi -fi |