mirror of
https://github.com/danog/php.git
synced 2024-11-30 04:29:16 +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
|
elif [ "$suite" != "$versionSuite" ]; then
|
||||||
variantAliases=()
|
variantAliases=()
|
||||||
fi
|
fi
|
||||||
variantAliases=( "${suiteVariantAliases[@]}" "${variantAliases[@]}" )
|
variantAliases=( "${suiteVariantAliases[@]}" ${variantAliases[@]+"${variantAliases[@]}"} )
|
||||||
variantAliases=( "${variantAliases[@]//latest-/}" )
|
variantAliases=( "${variantAliases[@]//latest-/}" )
|
||||||
|
|
||||||
variantParent="$(awk 'toupper($1) == "FROM" { print $2 }' "$dir/Dockerfile")"
|
variantParent="$(awk 'toupper($1) == "FROM" { print $2 }' "$dir/Dockerfile")"
|
||||||
|
Loading…
Reference in New Issue
Block a user