mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 15:21:12 +00:00
autogen.sh: only set up submodules if we have a .git directory
This way we do the right thing for tarball builds.
This commit is contained in:
parent
0b07a5301e
commit
805fc3a864
|
@ -19,9 +19,11 @@ PKG_NAME=NetworkManager
|
|||
cd $srcdir
|
||||
|
||||
# Fetch submodules if needed
|
||||
echo "+ Setting up submodules"
|
||||
git submodule init
|
||||
git submodule update
|
||||
if test -d $srcdir/.git; then
|
||||
echo "+ Setting up submodules"
|
||||
git submodule init
|
||||
git submodule update
|
||||
fi
|
||||
|
||||
gtkdocize || exit 1
|
||||
autopoint --force
|
||||
|
|
Loading…
Reference in a new issue