From d1534eda75f21a2bb60daf975b54eb4a4090e48c Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 11 Jun 2024 21:25:53 +0200 Subject: [PATCH] Fix variable --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b782cb1..1532b82 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -27,7 +27,7 @@ function setup_sources { tomcat_guac_dir="ROOT" fi - ynh_setup_source --source_id="$tomcat_version_deb" --dest_dir="$install_dir/downloads/$tomcat_version" + ynh_setup_source --source_id="${tomcat_version}_deb" --dest_dir="$install_dir/downloads/$tomcat_version" pushd "$install_dir/downloads/$tomcat_version" || ynh_die ar x "$tomcat_version.deb" "data.tar.xz" tar xJf data.tar.xz