diff --git a/clean.sh b/clean.sh index 7aba7ca85..7f370765e 100755 --- a/clean.sh +++ b/clean.sh @@ -12,5 +12,5 @@ fi for recipe_path in $recipes do - ./cook.sh "$recipe_path" distclean + IGNORE_ERROR=1 ./cook.sh "$recipe_path" distclean done diff --git a/cook.sh b/cook.sh index 1c6ac7cf6..76aa4e192 100755 --- a/cook.sh +++ b/cook.sh @@ -369,7 +369,8 @@ then do op "$recipe_name" "$i" done - else + elif [ "$IGNORE_ERROR" != "1" ] + then echo "cook.sh: recipe '$recipe_name' at not found" >&2 exit 1 fi