Skip to content

Commit f6aee35

Browse files
committed
Fix some submodule related problems.
1 parent 20857af commit f6aee35

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
# the build context to the docker image build server
33
/build
44

5-
# in-tree builds
6-
/deps

scripts/create_source_tarball.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ REPO_ROOT="$(dirname "$0")"/..
2121
TEMPDIR=$(mktemp -d)
2222
SOLDIR="$TEMPDIR/solidity_$versionstring/"
2323
mkdir "$SOLDIR"
24+
# Ensure that submodules are initialized.
25+
git submodule update --init --recursive
2426
# Store the current source
2527
git checkout-index -a --prefix="$SOLDIR"
2628
# shellcheck disable=SC2016

scripts/docker_deploy_manual.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DIR=$(mktemp -d)
1616
(
1717
cd "$DIR"
1818

19-
git clone --depth 2 https://github.com/ethereum/solidity.git -b "$branch"
19+
git clone --recursive --depth 2 https://github.com/ethereum/solidity.git -b "$branch"
2020
cd solidity
2121
commithash=$(git rev-parse --short=8 HEAD)
2222
echo -n "$commithash" > commit_hash.txt

0 commit comments

Comments
 (0)