mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-17 00:38:43 +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
|
set -e
|
||||||
|
|
||||||
for recipe in `ls -1 recipes`
|
if [ $# = 0 ]
|
||||||
|
then
|
||||||
|
recipes=$(ls -1 recipes)
|
||||||
|
else
|
||||||
|
recipes=$@
|
||||||
|
fi
|
||||||
|
|
||||||
|
for recipe in $recipes
|
||||||
do
|
do
|
||||||
if [ ! -f "recipes/$recipe/stage.tar" ]
|
if [ ! -f "recipes/$recipe/stage.tar" ]
|
||||||
then
|
then
|
||||||
Loading…
Reference in New Issue
Block a user