mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
build: Update to marsh 0.2.3.
This commit is contained in:
parent
4f693ed557
commit
f8fe6ad811
4
marsh
4
marsh
@ -6,7 +6,7 @@
|
||||
# https://github.com/bradleysepos/marsh
|
||||
|
||||
NAME="marsh"
|
||||
VERSION="0.2.2"
|
||||
VERSION="0.2.3"
|
||||
SELF="${BASH_SOURCE[0]}"
|
||||
SELF_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)
|
||||
SELF_DIR="${SELF_DIR:-$(pwd)}"
|
||||
@ -1057,7 +1057,7 @@ function build_template { # build_template dest_dir target_dir document templat
|
||||
echo "${DEST_ARRAY}=()"
|
||||
SOURCE_ARRAY="${SOURCE_ARRAY}[@]"
|
||||
for ITEM in "${!SOURCE_ARRAY}"; do
|
||||
ITEM=$(echo "${ITEM}" | sed -E -e 's/[ ]+<[^>]+>//g' -e 's/[ ]/\\\ \\\;/g')
|
||||
ITEM=$(echo "${ITEM}" | sed -E -e 's/[ ]+<[^>]+>//g' -e 's/[ ]/\ \;/g')
|
||||
echo "${DEST_ARRAY}+=(\"${ITEM}\")"
|
||||
done
|
||||
return 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user