dosage/scripts/generate_json.sh

18 lines
426 B
Bash
Raw Normal View History

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