Rename update-all.sh to update-packages.sh; make it optionally allow

a list of packages as arguments
This commit is contained in:
Ian Douglas Scott 2017-04-08 11:29:41 -07:00
parent 3bd2f7cfd6
commit e0401295af
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

View File

@ -2,7 +2,14 @@
set -e
for recipe in `ls -1 recipes`
if [ $# = 0 ]
then
recipes=$(ls -1 recipes)
else
recipes=$@
fi
for recipe in $recipes
do
if [ ! -f "recipes/$recipe/stage.tar" ]
then