Bugfix: Only use git for build info if the repository is actually the right one

Also adds ability to disable check with BITCOIN_GENBUILD_NO_GIT=1 in the environment
This commit is contained in:
Luke Dashjr
2016-02-12 05:36:55 +00:00
parent 41cced2106
commit e98e3dde6a
4 changed files with 4 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ script: |
done
# Create the release tarball using (arbitrarily) the first host
export GIT_DIR="$PWD/.git"
./autogen.sh
./configure --prefix=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`
make dist