ci/release/build.sh: Automatically clone ci submodule
This commit is contained in:
parent
112c0a0d7d
commit
72dfbf708f
2 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,12 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
if [ ! -e "$(dirname "$0")/../../ci/sub/.git" ]; then
|
||||
set -x
|
||||
git submodule update --init
|
||||
set +x
|
||||
fi
|
||||
. "$(dirname "$0")/../../ci/sub/lib.sh"
|
||||
cd -- "$(dirname "$0")/../.."
|
||||
. ./ci/sub/lib.sh
|
||||
|
||||
help() {
|
||||
cat <<EOF
|
||||
|
|
|
|||
2
make.sh
2
make.sh
|
|
@ -7,6 +7,6 @@ if [ ! -e "$(dirname "$0")/ci/sub/.git" ]; then
|
|||
fi
|
||||
. "$(dirname "$0")/ci/sub/lib.sh"
|
||||
PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH"
|
||||
cd "$(dirname "$0")"
|
||||
cd -- "$(dirname "$0")"
|
||||
|
||||
_make "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue