sci/scripts/git-clone-and-sci.sh

9 lines
222 B
Bash
Raw Permalink Normal View History

#!/bin/sh
set -ex # print all that we're doing (no need for echo's)
tmpdir=$(mktemp -d)
git clone --depth=1 --recurse-submodules --shallow-submodules -b $1 "$SCI_PIPELINE_URL" "$tmpdir"
shift
cd "$tmpdir"
sh .sci.sh
cd -