mirror of https://github.com/ntop/n2n.git
Browse Source
We aim to always build with the full version number from the git checkout, however if the current build is not being made from a git repository, we need to fallback to using the version number from the "VERSION" file. This patch changes the choice of the fallback path from just assuming that any git repo is our git repo to explicitly looking for a `.git` dir in the top of our checkout. Some integrated build systems end up doing a tar extract of the n2n source code inside their build-system git repo, and the old fallback check was failing in that case. We still need to identify these build systems and work out a way to provide them with the full and correct version number for their build, but this patch should make things more reliable until then.pull/906/head
Hamish Coleman
3 years ago
committed by
GitHub
1 changed files with 12 additions and 3 deletions
Loading…
Reference in new issue