diff --git a/unfetch.sh b/unfetch.sh new file mode 100755 index 0000000000000000000000000000000000000000..a63be6a73edcec22674398f28fd8727021de865c --- /dev/null +++ b/unfetch.sh @@ -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