Skip to content

Commit cc59414

Browse files
committed
autogen.pl: put in a helpful git submodule message
We have two places where we check for expected git submodules. One of them printed a helpful message describing how to fix the error, the other didn't. This commit simply makes both places print the helpful message. Signed-off-by: Jeff Squyres <jeff@squyres.com>
1 parent d257a01 commit cc59414

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)