Skip to content

Commit 99a4e6e

Browse files
committed
Merge pull request #4445 from engineyard/recursive-buildpack-checkout
checkout submodules present in custom buildpacks
2 parents 3838a0a + 613c661 commit 99a4e6e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • builder/rootfs/usr/local/src/slugbuilder/builder

builder/rootfs/usr/local/src/slugbuilder/builder/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ if [[ -n "$BUILDPACK_URL" ]]; then
111111
git clone --quiet "$url" "$buildpack"
112112
pushd "$buildpack" &>/dev/null
113113
git checkout --quiet "$committish"
114+
git submodule init --quiet
115+
git submodule update --quiet --recursive
114116
popd &>/dev/null
115117
fi
116118

0 commit comments

Comments
 (0)