12 lines
325 B
Bash
Executable File
12 lines
325 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
script_dir=$(CDPATH= cd "$(dirname "$0")" && pwd)
|
|
repo_root=$(CDPATH= cd "$script_dir/.." && pwd)
|
|
layouts_root=$repo_root/../../../tools/card-layouts
|
|
|
|
: "${GITEA_SHA:=0000000000000000000000000000000000000000}"
|
|
export GITEA_SHA
|
|
exec "$layouts_root/tools/render_card_pdf_preserving.sh" "$repo_root"
|
|
|