1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-28 10:42:06 +03:00

Fix minor "git log" usage issue

This commit is contained in:
Tianon Gravi
2014-11-25 22:04:02 -07:00
parent 40cfe26206
commit fc445dc0b5

View File

@ -16,7 +16,7 @@ url='git://github.com/docker-library/postgres'
echo '# maintainer: InfoSiftr <github@infosiftr.com> (@infosiftr)'
for version in "${versions[@]}"; do
commit="$(git log -1 --format='format:%H' "$version")"
commit="$(git log -1 --format='format:%H' -- "$version")"
fullVersion="$(grep -m1 'ENV PG_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | cut -d- -f1 | sed 's/~/-/g')"
versionAliases=( $fullVersion $version ${aliases[$version]} )