redox/update.sh
2017-07-23 11:58:04 -06:00

20 lines
242 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/build" ]
then
./cook.sh "$recipe" update
fi
done