diff options
-rw-r--r-- | configure.seed | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed index 9303e3187..535823271 100644 --- a/configure.seed +++ b/configure.seed @@ -46,7 +46,9 @@ AC_DEFINE_UNQUOTED(NDPI_MAJOR_RELEASE, "${NDPI_MAJOR}", [nDPI major release]) AC_DEFINE_UNQUOTED(NDPI_MINOR_RELEASE, "${NDPI_MINOR}", [nDPI minor release]) AC_DEFINE_UNQUOTED(NDPI_PATCH_LEVEL, "${NDPI_PATCH}", [nDPI patch level]) -if test -d ".git"; then : +# .git as directory in a cloned repo +# .git as file in submodule based integration +if test -d ".git" || test -f ".git" ; then : GIT_TAG=`git log -1 --format=%h` GIT_DATE=`git log -1 --format=%cd` # |