14 lines
229 B
Bash
Executable file
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 "${@}"
|