dosage/scripts/generate_json.sh

17 lines
362 B
Bash
Raw Normal View History

#!/bin/sh
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2019 Tobias Gruetzmacher
set -e
set -u
d=$(dirname $0)
2013-02-13 19:00:44 +00:00
if [ $# -ge 1 ]; then
list="$*"
else
list="arcamax comicfury comicgenesis creators gocomics keenspot webcomicfactory comicskingdom"
2013-02-13 19:00:44 +00:00
fi
for script in $list; do
echo "Executing ${script}.py"
python3 "${d}/${script}.py"
done