mirror of
https://github.com/danog/php.git
synced 2024-11-27 04:14:56 +01:00
Account for: ./generate-stackbrew-library.sh: line 126: variantAliases[@]: unbound variable
This commit is contained in:
parent
e1dd0a7e1f
commit
df1c388d3a
@ -123,7 +123,7 @@ for version in "${versions[@]}"; do
|
||||
elif [ "$suite" != "$versionSuite" ]; then
|
||||
variantAliases=()
|
||||
fi
|
||||
variantAliases=( "${suiteVariantAliases[@]}" "${variantAliases[@]}" )
|
||||
variantAliases=( "${suiteVariantAliases[@]}" ${variantAliases[@]+"${variantAliases[@]}"} )
|
||||
variantAliases=( "${variantAliases[@]//latest-/}" )
|
||||
|
||||
variantParent="$(awk 'toupper($1) == "FROM" { print $2 }' "$dir/Dockerfile")"
|
||||
|
Loading…
Reference in New Issue
Block a user