Created
August 25, 2015 20:55
-
-
Save directhex/516765af9d5a822034f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mono/mini/Makefile.am.in b/mono/mini/Makefile.am.in | |
index c71d236..0a34036 100755 | |
--- a/mono/mini/Makefile.am.in | |
+++ b/mono/mini/Makefile.am.in | |
@@ -749,16 +749,7 @@ EXTRA_DIST = TestDriver.cs \ | |
Makefile.am.in | |
version.h: Makefile | |
- if test -d $(top_srcdir)/.git; then \ | |
- (cd $(top_srcdir); \ | |
- LANG=C; export LANG; \ | |
- branch=`git branch | grep '^\*' | sed 's/(detached from .*/explicit/' | cut -d ' ' -f 2`; \ | |
- version=`git log --no-color --first-parent -n1 --pretty=format:%h`; \ | |
- echo "#define FULL_VERSION \"$$branch/$$version\""; \ | |
- ); \ | |
- else \ | |
- echo "#define FULL_VERSION \"tarball\""; \ | |
- fi > version.h | |
+ echo "#define FULL_VERSION \"Nightly %VERSION%\"" > version.h | |
# Utility target for patching libtool to speed up linking | |
patch-libtool: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this version works on 4.2.x