Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Nov 14, 2024
1 parent ba09d22 commit 3b25f39
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions script/gitlabci/print_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ echo "${CI_RUNNER_TAGS}"
# take all env variables, filter it and display it with a `export` prefix
env_name_prefixes=("^ALPAKA_*" "^alpaka_*" "^CMAKE_*" "^BOOST_*" "^CUDA_*")
for reg in ${env_name_prefixes[@]}; do
printenv | grep -E ${reg} | while read -r line ; do
echo "export $line \\"
done
if printenv | grep -qE ${reg}; then
printenv | grep -E ${reg} | while read -r line ; do
echo "export $line \\"
done
fi
done

echo "export CI_RUNNER_TAGS='${CI_RUNNER_TAGS}' \\"
Expand Down

0 comments on commit 3b25f39

Please sign in to comment.