Skip to content

Commit fc445dc

Browse files
committed
Fix minor "git log" usage issue
1 parent 40cfe26 commit fc445dc

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
@@ -16,7 +16,7 @@ url='git://github.com/docker-library/postgres'
1616
echo '# maintainer: InfoSiftr <github@infosiftr.com> (@infosiftr)'
1717

1818
for version in "${versions[@]}"; do
19-
commit="$(git log -1 --format='format:%H' "$version")"
19+
commit="$(git log -1 --format='format:%H' -- "$version")"
2020
fullVersion="$(grep -m1 'ENV PG_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | cut -d- -f1 | sed 's/~/-/g')"
2121
versionAliases=( $fullVersion $version ${aliases[$version]} )
2222

0 commit comments

Comments
 (0)