From 6331fb552f7692c5da3471488392efa3ae0585f2 Mon Sep 17 00:00:00 2001
From: Philipp Spilger <philipp.spilger@kip.uni-heidelberg.de>
Date: Fri, 23 Feb 2024 13:07:54 +0100
Subject: [PATCH] fix: Environment section in asic style recipe to use correct
 env vars

* beforehand, the build-environment env vars were used instead of the
  runtime ones

Change-Id: I43cda1558e91d2593e9e3730063cbaf2d3fcb268
---
 share/yashchiki/styles/asic/create_recipe.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/yashchiki/styles/asic/create_recipe.sh b/share/yashchiki/styles/asic/create_recipe.sh
index 8b4bfd14..194124b5 100755
--- a/share/yashchiki/styles/asic/create_recipe.sh
+++ b/share/yashchiki/styles/asic/create_recipe.sh
@@ -260,14 +260,14 @@ From: ${DOCKER_BASE_IMAGE}
     export MODULESHOME
 
     # CentOS 7 does not support C.UTF-8; unset everything if encountered.
-    if [ "${LANG}" = "C.UTF-8" ]; then
+    if [ "\${LANG}" = "C.UTF-8" ]; then
         LANG=C
         export LANG
         unset LC_COLLATE LC_CTYPE LC_MONETARY LC_NUMERIC LC_TIME LC_MESSAGES LC_ALL
     fi
 
     # python now from conda... and gopath/bin (gocryptfs)
-    PATH=/opt/conda/bin:/opt/go/gopath/bin:${PATH}
+    PATH=/opt/conda/bin:/opt/go/gopath/bin:\${PATH}
     # ensure conda sees a clean env
     unset PYTHONHOME
 EOF
-- 
GitLab