dosage/scripts/generate_json.sh

15 lines
245 B
Bash
Raw Normal View History

#!/bin/sh
set -e
set -u
d=$(dirname $0)
2013-02-13 19:00:44 +00:00
if [ $# -ge 1 ]; then
list="$*"
else
2014-07-03 15:12:25 +00:00
list="creators gocomics comicgenesis keenspot smackjeeves arcamax comicfury"
2013-02-13 19:00:44 +00:00
fi
for script in $list; do
echo "Executing ${script}.py"
"${d}/${script}.py"
done