From b3ad568eda0530ae94964d9e3210236478334414 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Thu, 11 May 2017 20:54:12 -0600 Subject: [PATCH] Keep fetch logic if source does not exist --- repo.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/repo.sh b/repo.sh index 5c042fdf3..274937667 100755 --- a/repo.sh +++ b/repo.sh @@ -11,6 +11,12 @@ fi for recipe in $recipes do + if [ ! -d "recipes/$recipe/source" ] + then + echo -e "\033[01;38;5;215mrepo - fetching $recipe\033[0m" >&2 + ./cook.sh "$recipe" fetch + fi + if [ ! -f "recipes/$recipe/stage.tar" ] then echo -e "\033[01;38;5;215mrepo - building $recipe\033[0m" >&2 -- GitLab