Skip to content
Snippets Groups Projects
Commit b3ad568e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Keep fetch logic if source does not exist

parent 362af486
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,12 @@ fi ...@@ -11,6 +11,12 @@ fi
for recipe in $recipes for recipe in $recipes
do 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" ] if [ ! -f "recipes/$recipe/stage.tar" ]
then then
echo -e "\033[01;38;5;215mrepo - building $recipe\033[0m" >&2 echo -e "\033[01;38;5;215mrepo - building $recipe\033[0m" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment