Fix typo causing failed test

This commit is contained in:
Ross Smith II 2023-10-12 21:18:45 -07:00
parent eb7858e4a6
commit f222c93258
1 changed files with 3 additions and 3 deletions

6
yadm
View File

@ -519,7 +519,8 @@ function template_esh() {
local yadm_classes content
yadm_classes="$(join_string $'\n' "${local_classes[@]}")"
content=$("$ESH_PROGRAM" "$input" \
content=$(YADM_CLASSES="$yadm_classes" \
"$ESH_PROGRAM" "$input" \
YADM_CLASS="$local_class" \
YADM_ARCH="$local_arch" \
YADM_OS="$local_system" \
@ -527,8 +528,7 @@ function template_esh() {
YADM_USER="$local_user" \
YADM_DISTRO="$local_distro" \
YADM_DISTRO_FAMILY="$local_distro_family" \
YADM_SOURCE="$input" \
YADM_CLASSES="$yadm_classes")
YADM_SOURCE="$input")
move_file "$input" "$output" "$content" "$?"
}