mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Rename update-all.sh to update-packages.sh; make it optionally allow
a list of packages as arguments
This commit is contained in:
parent
3bd2f7cfd6
commit
e0401295af
@ -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
|
||||
Loading…
Reference in New Issue
Block a user