mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-19 11:24:18 +08:00
25 lines
370 B
Bash
Executable File
25 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
source config.sh
|
|
|
|
if [ $# = 0 ]
|
|
then
|
|
recipes="$(ls -1 recipes)"
|
|
else
|
|
recipes="$@"
|
|
fi
|
|
|
|
for recipe in $recipes
|
|
do
|
|
if [ -d "recipes/$recipe/source" ]
|
|
then
|
|
status="$(COOK_QUIET=1 ./cook.sh "$recipe" status)"
|
|
|
|
if [ -n "$status" ]
|
|
then
|
|
echo -e "\e[1m$recipe\e[0m\n$status"
|
|
fi
|
|
fi
|
|
done
|