From f222c93258565ac07992e4104446dfb0842d99e9 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Thu, 12 Oct 2023 21:18:45 -0700 Subject: [PATCH] Fix typo causing failed test --- yadm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yadm b/yadm index 30797b7..2a741e1 100755 --- a/yadm +++ b/yadm @@ -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" "$?" }