redox/unfetch.sh
2024-03-23 14:10:29 +01:00

17 lines
209 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source config.sh
if [ $# = 0 ]
then
recipes="$(target/release/list_recipes)"
else
recipes="$@"
fi
for recipe_path in $recipes
do
./cook.sh "$recipe_path" unfetch
done