Skip to content

Commit

Permalink
fix printing environment variables in GitLab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Nov 14, 2024
1 parent 075e88c commit 01d7e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/gitlabci/print_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 01d7e05

Please sign in to comment.