diff --git a/update.sh b/update.sh new file mode 100755 index 000000000..ffa215c0c --- /dev/null +++ b/update.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -e + +source config.sh + +if [ $# = 0 ] +then + recipes="$(ls -1 recipes)" +else + recipes="$@" +fi + +for recipe in $recipes +do + if [ -d "recipes/$recipe/build" ] + then + ./cook.sh "$recipe" update + fi +done