mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
build: Update to marsh 0.7.2.
This commit is contained in:
parent
8791d15267
commit
36e141a796
10
marsh
10
marsh
@ -6,7 +6,7 @@
|
|||||||
# https://github.com/bradleysepos/marsh
|
# https://github.com/bradleysepos/marsh
|
||||||
|
|
||||||
NAME="marsh"
|
NAME="marsh"
|
||||||
VERSION="0.7.1"
|
VERSION="0.7.2"
|
||||||
SELF="${BASH_SOURCE[0]}"
|
SELF="${BASH_SOURCE[0]}"
|
||||||
SELF_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)
|
SELF_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)
|
||||||
SELF_DIR="${SELF_DIR:-$(pwd)}"
|
SELF_DIR="${SELF_DIR:-$(pwd)}"
|
||||||
@ -1579,15 +1579,7 @@ function build_template { # build_template dest_dir target_dir document templat
|
|||||||
eval $(process_authors "SUBDOCUMENT_AUTHORS" "SUBDOCUMENT_Authors")
|
eval $(process_authors "SUBDOCUMENT_AUTHORS" "SUBDOCUMENT_Authors")
|
||||||
SUBDOCUMENT_AUTHORS=$(join_delimited ', ' ' and ' ', and ' ${SUBDOCUMENT_AUTHORS[@]})
|
SUBDOCUMENT_AUTHORS=$(join_delimited ', ' ' and ' ', and ' ${SUBDOCUMENT_AUTHORS[@]})
|
||||||
# state
|
# state
|
||||||
if [[ "${SUBDOCUMENT_State}" != "" ]]; then
|
|
||||||
# deprecated (no brackets)
|
|
||||||
# Key: foo, bar, baz
|
|
||||||
SUBDOCUMENT_State=(${SUBDOCUMENT_State//, /})
|
|
||||||
else
|
|
||||||
# YAML inline array
|
|
||||||
# Key: [ foo, bar, baz ]
|
|
||||||
eval $(flat_to_array "SUBDOCUMENT_State" "SUBDOCUMENT_State_")
|
eval $(flat_to_array "SUBDOCUMENT_State" "SUBDOCUMENT_State_")
|
||||||
fi
|
|
||||||
if [[ "${DOCUMENT_Type}" == "archive-atom" ]]; then
|
if [[ "${DOCUMENT_Type}" == "archive-atom" ]]; then
|
||||||
# document template
|
# document template
|
||||||
if [[ "${TEMPLATE_Template_Partials_Archive_Atom_Document:-}" != "" ]]; then
|
if [[ "${TEMPLATE_Template_Partials_Archive_Atom_Document:-}" != "" ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user