1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00
rpcs3/.ci/export-cirrus-vars.sh

14 lines
400 B
Bash
Raw Normal View History

2021-04-04 10:34:12 +02:00
#!/bin/sh -e
2021-05-31 20:46:46 +02:00
# Export variables for later stages of the Cirrus pipeline
2021-04-04 10:34:12 +02:00
# Values done in this manner will appear as environment variables
# in later stages.
# From pure-sh-bible
# Setting 'IFS' tells 'read' where to split the string.
while IFS='=' read -r key val; do
# Skip over lines containing comments.
[ "${key##\#*}" ] || continue
export "$key"="$val"
done < ".ci/azure-vars.env"