diff --git a/update-all.sh b/update-packages.sh similarity index 84% rename from update-all.sh rename to update-packages.sh index 18a41e85c2acb1556bccc56d1c211d39ab59b00e..6a3aba2f9c477ee673ace80b5564eb2ee3f8cb42 100755 --- a/update-all.sh +++ b/update-packages.sh @@ -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