Add unfetch script

This commit is contained in:
Jeremy Soller 2017-11-26 09:12:26 -07:00
parent 857816728e
commit 00bac37c72

16
unfetch.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
source config.sh
if [ $# = 0 ]
then
recipes="$(ls -1 recipes)"
else
recipes="$@"
fi
for recipe in $recipes
do
./cook.sh "$recipe" unfetch
done