We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9af5e2 commit f115f97Copy full SHA for f115f97
entrypoint.sh
@@ -142,14 +142,10 @@ if [[ "${PHP}" == "" ]];then
142
fi
143
144
declare -a BEFORE_SCRIPT=()
145
-while IFS='' read -r line; do
146
- BEFORE_SCRIPT+=("$line")
147
-done < <(echo "${JOB}" | jq -rc '(.before_script // [])[]')
+readarray -t BEFORE_SCRIPT < <(echo "${JOB}" | jq -rc '(.before_script // [])[]' )
148
149
declare -a AFTER_SCRIPT=()
150
151
- AFTER_SCRIPT+=("$line")
152
-done < <(echo "${JOB}" | jq -rc '(.after_script // [])[]')
+readarray -t AFTER_SCRIPT < <(echo "${JOB}" | jq -rc '(.after_script // [])[]' )
153
154
155
echo "Marking PHP ${PHP} as configured default"
0 commit comments