mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 11:45:30 +00:00
13 lines
397 B
Bash
13 lines
397 B
Bash
#!/bin/sh -e
|
|
|
|
# Export variables for later stages of the Cirrus pipeline
|
|
# 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/ci-vars.env"
|