dosage/scripts/generate_json.sh

18 lines
414 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Copyright (C) 2012-2014 Bastian Kleineidam
2022-06-05 22:52:33 +00:00
# Copyright (C) 2015-2022 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
list="arcamax comicfury comicgenesis comicskingdom creators gocomics keenspot tapas webcomicfactory"
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