mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-23 13:10:42 +01: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
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue