Skip to content

Commit 8091d0e

Browse files
authored
Merge pull request #12603 from jsquyres/pr/add-helpful-submodule-status-message
autogen.pl: put in a helpful git submodule message
2 parents d257a01 + cc59414 commit 8091d0e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

autogen.pl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,12 @@ sub replace_config_sub_guess {
14291429
}
14301430

14311431
if (!$happy) {
1432-
print(" ==> ERROR: Missing submodule\n\nThe submodule \"$path\" is missing.\n\n");
1432+
print(" ==> ERROR: Missing
1433+
1434+
The submodule \"$path\" is missing.
1435+
1436+
Perhaps you forgot to \"git clone --recursive ...\", or you need to
1437+
\"git submodule update --init --recursive\"...?\n\n");
14331438
exit(1);
14341439
}
14351440
}

0 commit comments

Comments
 (0)