Skip to content

Commit

Permalink
fix missing submodules
Browse files Browse the repository at this point in the history
Resolves pmodels#30

Signed-off-by: Hammond, Jeff R <[email protected]>
  • Loading branch information
Hammond, Jeff R committed Dec 2, 2019
1 parent 2f90528 commit 909a584
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ fi
## Others
##########################################

# It is very easy to not clone recursively.
# This will fix this issue if it exists and is otherwise innocuous.
# Conditionalizing it on the presence of .git means it will not
# run when the user did not clone the code.
if [ -d ".git" ]; then
git submodules init && git submodules update
fi

subdirs=test

# copy confdb
Expand Down

0 comments on commit 909a584

Please sign in to comment.