blog/build.sh
Marc Beninca 8b442a0363 fixes
2022-03-13 19:55:23 +01:00

14 lines
229 B
Bash
Executable file

#! /usr/bin/env bash
SETTINGS='settings.py'
function main {
local file="$(realpath "${BASH_SOURCE[0]}")"
local root="$(dirname "${file}")"
cd "${root}"
pelican \
--settings "${SETTINGS}" \
"${@}"
}
main "${@}"