From e0401295afe4da6ceaa6d082932aa97ce2e1fd66 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott <ian@iandouglasscott.com> Date: Sat, 8 Apr 2017 11:29:41 -0700 Subject: [PATCH] Rename update-all.sh to update-packages.sh; make it optionally allow a list of packages as arguments --- update-all.sh => update-packages.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename update-all.sh => update-packages.sh (84%) diff --git a/update-all.sh b/update-packages.sh similarity index 84% rename from update-all.sh rename to update-packages.sh index 18a41e85c..6a3aba2f9 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 -- GitLab