From: Vincent Bernat Date: Wed, 16 Dec 2015 22:22:07 +0000 (+0100) Subject: build: .git can be a file (worktree) X-Git-Tag: 0.8.0~13 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=96a5a328861c87cc652d8fbe6382edeb82bf68d3;p=thirdparty%2Flldpd.git build: .git can be a file (worktree) --- diff --git a/autogen.sh b/autogen.sh index 55ca446d..7b1ce997 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,7 +2,7 @@ set -e -[ ! -e .gitmodules ] || [ ! -d .git ] || { +[ ! -e .gitmodules ] || [ ! -e .git ] || { echo "autogen.sh: updating git submodules" git submodule init git submodule update