diff options
Diffstat (limited to '')
-rwxr-xr-x | generate | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ #!/usr/bin/env bash +. "$HOME/.local/share/venv/bin/activate" + src_home="${BASH_SOURCE[0]%/*}" export PYTHONPATH="$src_home:$PYTHONPATH" @@ -30,7 +32,7 @@ printf 'Running daily.py\n' >&2 python3 -m sjdbmk.daily --date="$TARGET" || exit 2 printf 'Running pack.py\n' >&2 python3 -m sjdbmk.pack --date="$TARGET" || exit 3 -xdg-open ../sjdb-build/sjdb-"$(printf '%s' "$TARGET" | tr -d '-')".html +open ../sjdb-build/sjdb-"$(printf '%s' "$TARGET" | tr -d '-')".html read -p "Is this bulletin OK to send? [y/N] " res if [ "$res" = "y" ] then |