mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Relax check for .git to support freeipa in submodules
Let's relax the check for .git from directory to exists in order to
support freeipa in a git submodule. Submodules have a .git file with
content like
gitdir: ../.git/modules/freeipa
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
committed by
Martin Babinsky
parent
86295a8c2e
commit
cac0c2d951
@@ -353,7 +353,7 @@ dnl Are we in source tree?
|
||||
AM_CONDITIONAL([IS_GIT_SNAPSHOT], [test "IPA_VERSION_IS_GIT_SNAPSHOT" == "yes"])
|
||||
AM_COND_IF([IS_GIT_SNAPSHOT], [
|
||||
AC_MSG_CHECKING([if source directory is a Git reposistory])
|
||||
if test ! -d "${srcdir}/.git"; then
|
||||
if test ! -e "${srcdir}/.git"; then
|
||||
AC_MSG_ERROR([Git reposistory is required by VERSION.m4 IPA_VERSION_IS_GIT_SNAPSHOT but not found])
|
||||
else
|
||||
AC_MSG_RESULT([yes])
|
||||
|
||||
Reference in New Issue
Block a user