d2/make.sh

13 lines
242 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
2022-12-01 14:49:48 +00:00
if [ ! -e "$(dirname "$0")/ci/sub/.git" ]; then
set -x
git submodule update --init
2022-12-01 14:49:48 +00:00
set +x
fi
. "$(dirname "$0")/ci/sub/lib.sh"
PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH"
cd "$(dirname "$0")"
_make "$@"