From 01d7e0503ed4ef2542962132107e60d9f1e975dd Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Thu, 14 Nov 2024 13:22:26 +0100 Subject: [PATCH] fix printing environment variables in GitLab CI --- script/gitlabci/print_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/gitlabci/print_env.sh b/script/gitlabci/print_env.sh index 5a4dae15df1..55042c35265 100755 --- a/script/gitlabci/print_env.sh +++ b/script/gitlabci/print_env.sh @@ -39,7 +39,7 @@ fi echo -e "2. Run the following export commands in the container to setup enviroment\n" # take all env variables, filter it and display it with a `export` prefix -printenv | grep -E 'alpaka_*|ALPAKA_*|CMAKE_*|BOOST_|CUDA_' | while read -r line ; do +printenv | grep -E '^alpaka_*|^ALPAKA_*|^CMAKE_*|^BOOST_*|^CUDA_*' | while read -r line ; do echo "export $line \\" done