From 3863dc9b4243ecd7c80f1f6984bcb1083f37c359 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Sun, 23 Jul 2017 11:58:04 -0600 Subject: [PATCH] Add update script --- update.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 update.sh 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 -- GitLab