From aa311a5ad52b0b059db9f7e756872bf4f050d084 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 12 Sep 2024 21:47:29 +0200 Subject: [PATCH] Redirect `CONFIG_NAME` variable properly --- scripts/Common/OS/setup.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index 3679eef8..057cadf5 100755 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -62,7 +62,13 @@ function runSetup and begin set -l script (string escape (getCloneFile (getInstallerScript))) - wrapScript "INSTALLER_SCRIPT=$(string escape "$script") $script" + + wrapScript ( + string join " " \ + "INSTALLER_SCRIPT=$(string escape "$script")" \ + "CONFIG_NAME=$(string escape "$CONFIG_NAME")" \ + (string escape $script)) + end | runChroot "$mountDir" tee /root/.bash_profile > /dev/null and echo "Setup finished!"