Skip to content

Commit

Permalink
Merge pull request EOSIO#129 from EOSIO/recursive_status
Browse files Browse the repository at this point in the history
When build script checks submodules also check recursive submods
  • Loading branch information
larryk85 authored Oct 5, 2018
2 parents 8f6d64c + 514b5cf commit ffbc804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ MEM_CORES=$(( $MEM_CORES > 0 ? $MEM_CORES : 1 ))
CORES=$(( $CORES_AVAIL < $MEM_CORES ? $CORES_AVAIL : $MEM_CORES ))

#check submodules
if [ $(( $(git submodule status | grep -c "^[+\-]") )) -gt 0 ]; then
if [ $(( $(git submodule status --recursive | grep -c "^[+\-]") )) -gt 0 ]; then
printf "\\n\\tgit submodules are not up to date.\\n"
printf "\\tPlease run the command 'git submodule update --init --recursive'.\\n"
exit 1
Expand Down

0 comments on commit ffbc804

Please sign in to comment.