]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: .git can be a file (worktree)
authorVincent Bernat <vincent@bernat.im>
Wed, 16 Dec 2015 22:22:07 +0000 (23:22 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 16 Dec 2015 22:22:07 +0000 (23:22 +0100)
autogen.sh

index 55ca446d71e074869820d9ae87ff9be2f85cf748..7b1ce997e714c16209c5d52f07adfdc2361231be 100755 (executable)
@@ -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