diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2013-11-27 16:08:35 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2013-11-27 16:08:35 +0000 |
commit | 0fc3e5a086863b9f73884496f45967503da869f3 (patch) | |
tree | c75fbc72d2dc67387504f26f3ae9381e058779a2 | |
parent | 9fbe5f83e2d3242b0196a05a1d70b842138ff398 (diff) |
revert to using BUILD_NUMBER
CI jobs don't seem to be able to clone external repos, so I've given up
and reverted the script to it's original check.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-x | fvp-pre-boot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fvp-pre-boot.sh b/fvp-pre-boot.sh index 1d1365a..2afffc2 100755 --- a/fvp-pre-boot.sh +++ b/fvp-pre-boot.sh @@ -47,7 +47,7 @@ esac pkg_source=${JOB_NAME} pkg_repository=$repo_url/${repo}.git -if [ ! -e ${pkg_repository} ]; then +if [ "${BUILD_NUMBER}" -eq 0 ]; then git clone --depth 1 ${pkg_repository} -b ${branch} fi |