mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
Removing Bourne shell-ism (bash doesn't have this issue)
This commit is contained in:
parent
6a6aadca50
commit
3516cdd631
4
mo
4
mo
@ -133,7 +133,7 @@ mustache-get-content() {
|
||||
if [[ "${#@}" -gt 0 ]]; then
|
||||
CONTENT=""
|
||||
|
||||
for FILENAME in ${1+"$@"}; do
|
||||
for FILENAME in "$@"; do
|
||||
# This is so relative paths work from inside template files
|
||||
CONTENT="$CONTENT"'{{>'"$FILENAME"'}}'
|
||||
done
|
||||
@ -696,5 +696,5 @@ mustache-trim-whitespace() {
|
||||
}
|
||||
|
||||
|
||||
mustache-get-content MUSTACHE_CONTENT ${1+"$@"}
|
||||
mustache-get-content MUSTACHE_CONTENT "$@"
|
||||
mustache-parse "$MUSTACHE_CONTENT" "" true
|
||||
|
Loading…
Reference in New Issue
Block a user