dosage/scripts/generate_json.sh

15 lines
242 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
list="creators gocomics drunkduck keenspot smackjeeves arcamax comicfury"
fi
for script in $list; do
echo "Executing ${script}.py"
"${d}/${script}.py"
done