Skip to content

Commit

Permalink
Add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jul 23, 2017
1 parent 943fe8a commit 3863dc9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 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

0 comments on commit 3863dc9

Please sign in to comment.