Skip to content

Commit

Permalink
recurse submodules when cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Apr 21, 2024
1 parent 84c0b11 commit 777b3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mkdir -p ${WORLDPATH}/worldmods/
cd ${WORLDPATH}/worldmods/
for dep in ${INPUT_GIT_DEPENDENCIES}
do
git clone --depth=1 $dep
git clone --recurse-submodules --depth=1 $dep
done

# add the mtt mod if it does not exist
Expand All @@ -20,7 +20,7 @@ fi

# install game
cd ${WORLDPATH}/
git clone --depth=1 ${INPUT_GIT_GAME_REPO} game
git clone --recurse-submodules --depth=1 ${INPUT_GIT_GAME_REPO} game

# create link to current mod
ln -s /github/workspace ${WORLDPATH}/worldmods/${INPUT_MODNAME}
Expand Down

0 comments on commit 777b3dd

Please sign in to comment.