diff options
Diffstat (limited to '000.fetch_git.build')
-rw-r--r-- | 000.fetch_git.build | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/000.fetch_git.build b/000.fetch_git.build index d66f195e..27c0282f 100644 --- a/000.fetch_git.build +++ b/000.fetch_git.build @@ -1,8 +1,12 @@ -# Git clone what we need. -fetch_git cbb-gcc-${PKG_GCC_VERSION} ${GITROOT}/cbb/cbb-gcc-${PKG_GCC_VERSION}; -fetch_git lazy ${GITROOT}/lazy; -fetch_git mmglue ${GITROOT}/mmglue; -fetch_git portage ${GITROOT}/ports/portage; -fetch_git psxstub ${GITROOT}/psxstub; +# +# . ./build.vars and set -o errexit are assumed. +# + +if ! is_build_script_done fetch; then + # Git clone what we need. + fetch_git lazy ${GITROOT}/lazy; + fetch_git portage ${GITROOT}/ports/portage; + set_build_script_done fetch finish; +fi; # vim:filetype=sh |