Commit f9fc72a
committed
autogen.pl: fix submodule hash check
Update the git submodule check to just look at the first character in
each line of "git submodule status" output:
* If it's "-", then the submodule is missing (this check was already
there)
* If it's "+", then the locally-checked out hash is different than
what is expected by the submodule, so emit a warning (this check was
there, but was incorrect)
Signed-off-by: Jeff Squyres <[email protected]>1 parent b44e927 commit f9fc72a
1 file changed
+8
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
1418 | 1415 | | |
1419 | 1416 | | |
1420 | 1417 | | |
| |||
1437 | 1434 | | |
1438 | 1435 | | |
1439 | 1436 | | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
1447 | 1440 | | |
1448 | 1441 | | |
1449 | 1442 | | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
| 1443 | + | |
| 1444 | + | |
1453 | 1445 | | |
1454 | 1446 | | |
1455 | 1447 | | |
| |||
0 commit comments