Skip to content

Commit 0c64340

Browse files
committed
Update generate-stackbrew-library.sh to understand the new ENV separator
Ref: 24c2f1f
1 parent 24c2f1f commit 0c64340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ latest="$(curl -fsSL 'https://www.phpmyadmin.net/home_page/version.json' | jq -r
6767

6868
for variant in apache fpm fpm-alpine; do
6969
commit="$(dirCommit "$variant")"
70-
fullversion="$(git show "$commit":"$variant/Dockerfile" | awk '$1 == "ENV" && $2 == "VERSION" { print $3; exit }')"
70+
fullversion="$(git show "$commit":"$variant/Dockerfile" | awk -F" |=" '$1 == "ENV" && $2 == "VERSION" { print $3; exit }')"
7171

7272
versionAliases=( "$fullversion" "${fullversion%.*}" "${fullversion%.*.*}" )
7373
if [ "$fullversion" = "$latest" ]; then

0 commit comments

Comments
 (0)