Keep fetch logic if source does not exist

This commit is contained in:
Jeremy Soller 2017-05-11 20:54:12 -06:00
parent 362af48613
commit b3ad568eda

View File

@ -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