fixes
This commit is contained in:
parent
14fc25100e
commit
8b442a0363
2 changed files with 2 additions and 6 deletions
6
build.sh
6
build.sh
|
@ -5,14 +5,10 @@ SETTINGS='settings.py'
|
|||
function main {
|
||||
local file="$(realpath "${BASH_SOURCE[0]}")"
|
||||
local root="$(dirname "${file}")"
|
||||
local args=()
|
||||
case "${1}" in
|
||||
'') args+='--print-settings' ;;
|
||||
esac
|
||||
cd "${root}"
|
||||
pelican \
|
||||
--settings "${SETTINGS}" \
|
||||
"${args[@]}"
|
||||
"${@}"
|
||||
}
|
||||
|
||||
main "${@}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue